| Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
GeditAppPrivate; struct GeditApp; enum GeditLockdownMask; GeditWindow * gedit_app_create_window (GeditApp *app,GdkScreen *screen); GList * gedit_app_get_documents (GeditApp *app); GList * gedit_app_get_views (GeditApp *app); GeditLockdownMask gedit_app_get_lockdown (GeditApp *app);
typedef enum {
GEDIT_LOCKDOWN_COMMAND_LINE = 1 << 0,
GEDIT_LOCKDOWN_PRINTING = 1 << 1,
GEDIT_LOCKDOWN_PRINT_SETUP = 1 << 2,
GEDIT_LOCKDOWN_SAVE_TO_DISK = 1 << 3
} GeditLockdownMask;
GeditWindow * gedit_app_create_window (GeditApp *app,GdkScreen *screen);
Create a new GeditWindow part of app.
|
the GeditApp |
|
. [allow-none] |
Returns : |
the new GeditWindow. [transfer none] |
GList * gedit_app_get_documents (GeditApp *app);
Returns all the documents currently open in GeditApp.
|
the GeditApp |
Returns : |
a newly allocated list of GeditDocument objects. [element-type Gedit.Document][transfer container] |
GList * gedit_app_get_views (GeditApp *app);
Returns all the views currently present in GeditApp.
|
the GeditApp |
Returns : |
a newly allocated list of GeditView objects. [element-type Gedit.View][transfer container] |
GeditLockdownMask gedit_app_get_lockdown (GeditApp *app);
Gets the lockdown mask (see GeditLockdownMask) for the application. The lockdown mask determines which functions are locked down using the GNOME-wise lockdown GConf keys.
|
a GeditApp |