XedApp

XedApp

Functions

Types and Values

struct XedApp

Object Hierarchy

    GObject
    ╰── GApplication
        ╰── GtkApplication
            ╰── XedApp

Implemented Interfaces

XedApp implements GActionGroup and GActionMap.

Description

Functions

xed_app_create_window ()

XedWindow *
xed_app_create_window (XedApp *app,
                       GdkScreen *screen);

Create a new XedWindow part of app .

Parameters

app

the XedApp

 

screen

.

[allow-none]

Returns

the new XedWindow.

[transfer none]


xed_app_set_window_title ()

void
xed_app_set_window_title (XedApp *app,
                          XedWindow *window,
                          const gchar *title);

xed_app_get_main_windows ()

GList *
xed_app_get_main_windows (XedApp *app);

Returns all XedWindows currently open in XedApp. This differs from gtk_application_get_windows() since it does not include the preferences dialog and other auxiliary windows.

Parameters

app

the GeditApp

 

Returns

a newly allocated list of XedWindow objects.

[element-type Xed.Window][transfer container]


xed_app_get_documents ()

GList *
xed_app_get_documents (XedApp *app);

Returns all the documents currently open in XedApp.

Parameters

app

the XedApp

 

Returns

a newly allocated list of XedDocument objects.

[element-type Xed.Document][transfer container]


xed_app_get_views ()

GList *
xed_app_get_views (XedApp *app);

Returns all the views currently present in XedApp.

Parameters

app

the XedApp

 

Returns

a newly allocated list of XedView objects.

[element-type Xed.View][transfer container]


xed_app_show_help ()

gboolean
xed_app_show_help (XedApp *app,
                   GtkWindow *parent,
                   const gchar *name,
                   const gchar *link_id);

Types and Values

struct XedApp

struct XedApp;