| Evolution Utilities Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Properties | Signals | ||||
struct EHTMLEditor; GtkWidget * e_html_editor_new (void); EHTMLEditorView * e_html_editor_get_view (EHTMLEditor *editor); GtkBuilder * e_html_editor_get_builder (EHTMLEditor *editor); GtkUIManager * e_html_editor_get_ui_manager (EHTMLEditor *editor); GtkAction * e_html_editor_get_action (EHTMLEditor *editor,const gchar *action_name); GtkActionGroup * e_html_editor_get_action_group (EHTMLEditor *editor,const gchar *group_name); GtkWidget * e_html_editor_get_widget (EHTMLEditor *editor,const gchar *widget_name); GtkWidget * e_html_editor_get_managed_widget (EHTMLEditor *editor,const gchar *widget_path); const gchar * e_html_editor_get_filename (EHTMLEditor *editor); void e_html_editor_set_filename (EHTMLEditor *editor,const gchar *filename); EActivity * e_html_editor_new_activity (EHTMLEditor *editor); void e_html_editor_pack_above (EHTMLEditor *editor,GtkWidget *child); gboolean e_html_editor_save (EHTMLEditor *editor,const gchar *filename,gboolean as_html,GError **error);
GObject +----GInitiallyUnowned +----GtkWidget +----GtkContainer +----GtkGrid +----EHTMLEditor
EHTMLEditor implements AtkImplementorIface, GtkBuildable, GtkOrientable and EAlertSink.
struct EHTMLEditor;
EHTMLEditor provides GUI for manipulating with properties of EHTMLEditorView and its EHTMLEditorSelection - i.e. toolbars and actions.
GtkWidget * e_html_editor_new (void);
Constructs a new EHTMLEditor.
Returns : |
A newly created widget. [transfer-full] |
EHTMLEditorView * e_html_editor_get_view (EHTMLEditor *editor);
|
an EHTMLEditor |
Returns : |
instance of EHTMLEditorView used in the editor. |
GtkUIManager * e_html_editor_get_ui_manager (EHTMLEditor *editor);
|
an EHTMLEditor |
Returns : |
GtkUIManager that manages all the actions in the editor. |
GtkAction * e_html_editor_get_action (EHTMLEditor *editor,const gchar *action_name);
|
an EHTMLEditor |
|
name of action to lookup and return |
Returns : |
A GtkAction matching action_name or NULL if no such action exists. |
GtkActionGroup * e_html_editor_get_action_group (EHTMLEditor *editor,const gchar *group_name);
|
an EHTMLEditor |
|
name of action group to lookup and return |
Returns : |
A GtkActionGroup matching group_name or NULL if not such action
group exists. |
GtkWidget * e_html_editor_get_widget (EHTMLEditor *editor,const gchar *widget_name);
GtkWidget * e_html_editor_get_managed_widget (EHTMLEditor *editor,const gchar *widget_path);
const gchar * e_html_editor_get_filename (EHTMLEditor *editor);
|
an EHTMLEditor |
Returns : |
path and name of file to which content of the editor should be saved. |
void e_html_editor_set_filename (EHTMLEditor *editor,const gchar *filename);
Sets file to which content of the editor should be saved (see
e_html_editor_save()).
|
an EHTMLEditor |
|
Target file |
EActivity * e_html_editor_new_activity (EHTMLEditor *editor);
Creates and configures a new EActivity so its progress is shown in
the editor. The EActivity comes pre-loaded with a CamelOperation.
|
an EHTMLEditor |
Returns : |
a new EActivity for use with editor
|
void e_html_editor_pack_above (EHTMLEditor *editor,GtkWidget *child);
Inserts child right between the toolbars and the editor widget itself.
|
an EHTMLEditor |
|
a GtkWidget |
gboolean e_html_editor_save (EHTMLEditor *editor,const gchar *filename,gboolean as_html,GError **error);
Saves current content of the EHTMLEditorView into given file. When as_html
is FALSE, the content is first converted into plain text.
|
an EHTMLEditor |
|
file into which to save the content |
|
whether the content should be saved as HTML or plain text |
|
[out] a GError |
Returns : |
TRUE when content is succesfully saved, FALSE otherwise. |
"spell-languages-changed" signalvoid user_function (EHTMLEditor *ehtmleditor,
gpointer user_data) : Run Last
"update-actions" signalvoid user_function (EHTMLEditor *ehtmleditor,
GdkEvent *arg1,
gpointer user_data) : Run Last