| 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);