MODEST_MSG_EDIT_FORMAT_HTML
} ModestMsgEditFormat;
+typedef enum {
+ MODEST_MSG_EDIT_WINDOW_WIDGET_TYPE_BODY,
+ MODEST_MSG_EDIT_WINDOW_WIDGET_TYPE_TO,
+ MODEST_MSG_EDIT_WINDOW_WIDGET_TYPE_CC,
+ MODEST_MSG_EDIT_WINDOW_WIDGET_TYPE_BCC,
+ MODEST_MSG_EDIT_WINDOW_WIDGET_TYPE_SUBJECT,
+ MODEST_MSG_EDIT_WINDOW_WIDGET_TYPE_ATTACHMENTS,
+ MODEST_MSG_EDIT_WINDOW_WIDGET_TYPE_NUM,
+} ModestMsgEditWindowWidgetType;
+
/** Get these with modest_msg_edit_window_get_msg_data()
* and free them with modest_msg_edit_window_free_msg_data().
*/
void modest_msg_edit_window_show_bcc (ModestMsgEditWindow *window, gboolean show);
/**
- * modest_msg_edit_window_toggle_fullscreen:
- * @window: a #ModestMsgEditWindow
- *
- * toggles the current fullscreen status
- */
-void modest_msg_edit_window_toggle_fullscreen (ModestMsgEditWindow *window);
-
-/**
* modest_msg_edit_window_set_priority_flags:
* @window: a #ModestMsgEditWindow
* @priority_flags: a #TnyHeaderFlags with priority information
void modest_msg_edit_window_undo (ModestMsgEditWindow *window);
/**
+ * modest_msg_edit_window_can_undo:
+ * @window: a #ModestMsgEditWindow
+ *
+ * Checks if an undo operation is available
+ *
+ * Returns: %TRUE if undo can be done, %FALSE otherwise.
+ */
+gboolean modest_msg_edit_window_can_undo (ModestMsgEditWindow *window);
+
+/**
* modest_msg_edit_window_redo:
* @window: a #ModestMsgEditWindow
*
void modest_msg_edit_window_redo (ModestMsgEditWindow *window);
/**
+ * modest_msg_edit_window_can_redo:
+ * @window: a #ModestMsgEditWindow
+ *
+ * Checks if a redp operation is available
+ *
+ * Returns: %TRUE if redo can be done, %FALSE otherwise.
+ */
+gboolean modest_msg_edit_window_can_redo (ModestMsgEditWindow *window);
+
+/**
* modest_msg_edit_window_select_contacts:
* @window: a #ModestMsgEditWindow
*
*/
const gchar* modest_msg_edit_window_get_message_uid (ModestMsgEditWindow *window);
+/**
+ * modest_msg_edit_window_get_child_widget:
+ * @win: a #ModestMsgEditWindow
+ * @widget_type: the type of the child to obtain
+ *
+ * Obtain the child widget of @win of type @widget_type
+ *
+ * Returns: a #GtkWidget, or %NULL
+ */
+GtkWidget *
+modest_msg_edit_window_get_child_widget (ModestMsgEditWindow *win,
+ ModestMsgEditWindowWidgetType widget_type);
+
G_END_DECLS
#endif /* __MODEST_MSG_EDIT_WINDOW_H__ */