XedApp

XedApp

Functions

Types and Values

  XedAppPrivate
struct XedApp

Object Hierarchy

    GObject
    ╰── XedApp

Description

Functions

xed_app_get_default ()

XedApp *
xed_app_get_default (void);

Returns the XedApp object. This object is a singleton and represents the running xed instance.

Returns

the XedApp pointer


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


xed_app_get_windows ()

const GList *
xed_app_get_windows (XedApp *app);

Returns all the windows currently present in XedApp.

Parameters

app

the XedApp

 

Returns

the list of XedWindows objects. The list should not be freed.

[transfer none]


xed_app_get_active_window ()

XedWindow *
xed_app_get_active_window (XedApp *app);

Retrives the XedWindow currently active.

Parameters

app

the XedApp

 

Returns

the active XedWindow


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]

Types and Values

XedAppPrivate

typedef struct _XedAppPrivate XedAppPrivate;

struct XedApp

struct XedApp;