| Top |
Functions
Object Hierarchy
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkGrid ╰── EHTMLEditor
Functions
e_html_editor_new ()
void e_html_editor_new (GAsyncReadyCallback callback,gpointer user_data);
Constructs a new EHTMLEditor asynchronously. The result is returned
by e_html_editor_new_finish(), which should be called inside callback
.
Parameters
callback |
a callback to be called when the editor is ready |
|
user_data |
a used data passed into the |
Since: 3.22
e_html_editor_new_finish ()
GtkWidget * e_html_editor_new_finish (GAsyncResult *result,GError **error);
Finishes the call of e_html_editor_new().
Parameters
result |
a GAsyncResult passed to callback from |
|
error |
an optional GError |
Since: 3.22
e_html_editor_get_content_editor ()
EContentEditor *
e_html_editor_get_content_editor (EHTMLEditor *editor);
Returns instance of EContentEditor used in the editor
.
e_html_editor_register_content_editor ()
void e_html_editor_register_content_editor (EHTMLEditor *editor,const gchar *name,EContentEditor *cnt_editor);
e_html_editor_get_ui_manager ()
GtkUIManager *
e_html_editor_get_ui_manager (EHTMLEditor *editor);
Returns GtkUIManager that manages all the actions in the editor
.
e_html_editor_get_action ()
GtkAction * e_html_editor_get_action (EHTMLEditor *editor,const gchar *action_name);
e_html_editor_get_action_group ()
GtkActionGroup * e_html_editor_get_action_group (EHTMLEditor *editor,const gchar *group_name);
e_html_editor_get_widget ()
GtkWidget * e_html_editor_get_widget (EHTMLEditor *editor,const gchar *widget_name);
e_html_editor_get_managed_widget ()
GtkWidget * e_html_editor_get_managed_widget (EHTMLEditor *editor,const gchar *widget_path);
e_html_editor_get_style_combo_box ()
GtkWidget *
e_html_editor_get_style_combo_box (EHTMLEditor *editor);
e_html_editor_get_filename ()
const gchar *
e_html_editor_get_filename (EHTMLEditor *editor);
Returns path and name of file to which content of the editor should be saved.
e_html_editor_set_filename ()
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()).
e_html_editor_get_activity_bar ()
EActivityBar *
e_html_editor_get_activity_bar (EHTMLEditor *editor);
e_html_editor_new_activity ()
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.
e_html_editor_pack_above ()
void e_html_editor_pack_above (EHTMLEditor *editor,GtkWidget *child);
Inserts child
right between the toolbars and the editor widget itself.
e_html_editor_update_spell_actions ()
void
e_html_editor_update_spell_actions (EHTMLEditor *editor);
e_html_editor_save ()
gboolean e_html_editor_save (EHTMLEditor *editor,const gchar *filename,gboolean as_html,GError **error);
Saves current content of the EContentEditor into given file. When as_html
is FALSE
, the content is first converted into plain text.
Parameters
editor |
an EHTMLEditor |
|
filename |
file into which to save the content |
|
as_html |
whether the content should be saved as HTML or plain text |
|
error |
[out] a GError |
Signal Details
The “spell-languages-changed” signal
void user_function (EHTMLEditor *ehtmleditor, gpointer user_data)
Flags: Run Last
The “update-actions” signal
void user_function (EHTMLEditor *ehtmleditor, guint arg1, gpointer user_data)
Flags: Run Last
