Editor

Editor — A simple editor composed of other Talkatu Widgets

Functions

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBox
                    ╰── TalkatuEditor

Description

TalkatuEditor is a composite widget of TalkatuToolbar and TalkatuView to help make them easier to use.

Functions

talkatu_editor_new ()

GtkWidget *
talkatu_editor_new (void);

Creates a new TalkatuEditor with a normal GtkTextBuffer.

Returns

The new TalkatuEditor instance.

[transfer full]


talkatu_editor_get_view ()

GtkWidget *
talkatu_editor_get_view (TalkatuEditor *editor);

Gets the TalkatuView that editor is using.

Parameters

editor

The TalkatuEditor instance.

 

Returns

The TalkatuView that editor is using.

[transfer none]


talkatu_editor_get_toolbar ()

GtkWidget *
talkatu_editor_get_toolbar (TalkatuEditor *editor);

Gets the TalkatuToolbar that editor is using.

Parameters

editor

The TalkatuEditor instance.

 

Returns

The TalkatuToolbar that editor is using.

[transfer none]