typedef struct _ModestMsgViewClass ModestMsgViewClass;
struct _ModestMsgView {
- GtkVBox parent;
+ GtkContainer parent;
};
struct _ModestMsgViewClass {
- GtkVBoxClass parent_class;
+ GtkContainerClass parent_class;
+ void (*set_scroll_adjustments) (ModestMsgView *msg_view,
+ GtkAdjustment *hadj,
+ GtkAdjustment *vadj);
+
void (*link_hover) (ModestMsgView *msgview, const gchar* link,
gpointer user_data);
void (*link_clicked) (ModestMsgView *msgview, const gchar* link,
gpointer user_data);
- void (*attachment_clicked) (ModestMsgView *msgview, int index,
+ void (*attachment_clicked) (ModestMsgView *msgview, TnyMimePart *mime_part,
gpointer user_data);
- void (*recpt_activated) (ModestMsgView *msgview, ModestRecptView *recpt_view,
+ void (*recpt_activated) (ModestMsgView *msgview, const gchar *address,
gpointer user_data);
};
*/
TnyMsg* modest_msg_view_get_message (ModestMsgView *self);
-
+GtkAdjustment *modest_msg_view_get_vadjustment (ModestMsgView *self);
+GtkAdjustment *modest_msg_view_get_hadjustment (ModestMsgView *self);
+void modest_msg_view_set_vadjustment (ModestMsgView *self, GtkAdjustment *vadj);
+void modest_msg_view_set_hadjustment (ModestMsgView *self, GtkAdjustment *hadj);
+void modest_msg_view_set_shadow_type (ModestMsgView *self, GtkShadowType type);
+GtkShadowType modest_msg_view_get_shadow_type (ModestMsgView *self);
G_END_DECLS