| Top |
| GtkWidget * | e_markdown_editor_new () |
| void | e_markdown_editor_connect_focus_tracker () |
| GtkTextView * | e_markdown_editor_get_text_view () |
| GtkToolbar * | e_markdown_editor_get_action_toolbar () |
| void | e_markdown_editor_set_text () |
| gchar * | e_markdown_editor_dup_text () |
| gchar * | e_markdown_editor_dup_html () |
| gboolean | e_markdown_editor_get_preview_mode () |
| void | e_markdown_editor_set_preview_mode () |
| void | changed | Run First |
| void | format-bold | Action |
| void | format-bullet-list | Action |
| void | format-code | Action |
| void | format-header | Action |
| void | format-italic | Action |
| void | format-numbered-list | Action |
| void | format-quote | Action |
| void | insert-emoji | Action |
| void | insert-link | Action |
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBox
╰── EMarkdownEditor
GtkWidget *
e_markdown_editor_new (void);
Creates a new EMarkdownEditor
Since: 3.44
void e_markdown_editor_connect_focus_tracker (EMarkdownEditor *self,EFocusTracker *focus_tracker);
Connects self
widgets to the focus_tracker
.
Since: 3.44
GtkTextView *
e_markdown_editor_get_text_view (EMarkdownEditor *self);
Since: 3.44
GtkToolbar *
e_markdown_editor_get_action_toolbar (EMarkdownEditor *self);
Since: 3.44
void e_markdown_editor_set_text (EMarkdownEditor *self,const gchar *text);
Sets the text
as the editor content.
Since: 3.44
gchar *
e_markdown_editor_dup_text (EMarkdownEditor *self);
Get the markdown text entered in the self
. To get
the HTML version of it use e_markdown_editor_dup_html().
Free the returned string with g_free(), when no longer needed.
Since: 3.44
gchar *
e_markdown_editor_dup_html (EMarkdownEditor *self);
Get the HTML version of the markdown text entered in the self
.
To get the markdown text use e_markdown_editor_dup_text().
Free the returned string with g_free(), when no longer needed.
Note: The function can return NULL when was not built
with the markdown support.
the markdown text converted
into HTML, or NULL, when was not built with the markdown support.
[transfer full][nullable]
Since: 3.44
gboolean
e_markdown_editor_get_preview_mode (EMarkdownEditor *self);
Since: 3.44
void e_markdown_editor_set_preview_mode (EMarkdownEditor *self,gboolean preview_mode);
Sets the self
into the preview mode, when preview_mode
is TRUE, or
into editing mode, when preview_mode
is FALSE.
Note: The request to move to the preview mode can be silently ignored when the Evolution was not built with the markdown support.
Since: 3.44
“changed” signalvoid user_function (EMarkdownEditor *self, gpointer user_data)
This signal is emitted the content of the self
changes.
self |
an EMarkdownEditor, which sent the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First
Since: 3.44
“format-bold” signalvoid user_function (EMarkdownEditor *self, gpointer user_data)
A signal to set text format to bold.
self |
an EMarkdownEditor, which receives the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
Since: 3.44
“format-bullet-list” signalvoid user_function (EMarkdownEditor *self, gpointer user_data)
A signal to set text format to bullet list.
self |
an EMarkdownEditor, which receives the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
Since: 3.44
“format-code” signalvoid user_function (EMarkdownEditor *self, gpointer user_data)
A signal to set text format to code.
self |
an EMarkdownEditor, which receives the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
Since: 3.44
“format-header” signalvoid user_function (EMarkdownEditor *self, gpointer user_data)
A signal to set text format to header.
self |
an EMarkdownEditor, which receives the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
Since: 3.44
“format-italic” signalvoid user_function (EMarkdownEditor *self, gpointer user_data)
A signal to set text format to italic.
self |
an EMarkdownEditor, which receives the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
Since: 3.44
“format-numbered-list” signalvoid user_function (EMarkdownEditor *self, gpointer user_data)
A signal to set text format to numbered list.
self |
an EMarkdownEditor, which receives the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
Since: 3.44
“format-quote” signalvoid user_function (EMarkdownEditor *self, gpointer user_data)
A signal to set text format to quote.
self |
an EMarkdownEditor, which receives the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
Since: 3.44
“insert-emoji” signalvoid user_function (EMarkdownEditor *self, gpointer user_data)
A signal to open a dialog to insert Emoji.
self |
an EMarkdownEditor, which receives the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
Since: 3.44
“insert-link” signalvoid user_function (EMarkdownEditor *self, gpointer user_data)
A signal to insert a link.
self |
an EMarkdownEditor, which receives the signal |
|
user_data |
user data set when the signal handler was connected. |
Flags: Action
Since: 3.44