Link Dialog

Link Dialog — A GtkDialog for creating a link.

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GtkDialog
                            ╰── TalkatuLinkDialog

Implemented Interfaces

TalkatuLinkDialog implements AtkImplementorIface and GtkBuildable.

Description

A simple dialog to aid in the creation of a link.

Functions

talkatu_link_dialog_new ()

GtkWidget *
talkatu_link_dialog_new (void);

Creates a new TalkatuLinkDialog with a TalkatuBuffer.

Returns

The new TalkatuLinkDialog.

[transfer full]


talkatu_link_dialog_get_url ()

gchar *
talkatu_link_dialog_get_url (TalkatuLinkDialog *dialog);

Gets the URL that the user entered with leading and trailing whitespace removed.

Parameters

dialog

The TalkatuLinkDialog.

 

Returns

The URL that the user entered.

[transfer full]


talkatu_link_dialog_get_display_text ()

gchar *
talkatu_link_dialog_get_display_text (TalkatuLinkDialog *dialog);

Gets the display text that the user entered with leading and trailing whitespace removed.

Parameters

dialog

The TalkatuLinkDialog.

 

Returns

The display text that the user entered.

[transfer full]

Types and Values

TALKATU_TYPE_LINK_DIALOG

#define TALKATU_TYPE_LINK_DIALOG            (talkatu_link_dialog_get_type())

TalkatuLinkDialog

typedef struct _TalkatuLinkDialog TalkatuLinkDialog;