| pluma Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
PlumaAppPrivate; struct PlumaApp; enum PlumaLockdownMask; PlumaApp * pluma_app_get_default (void); PlumaWindow * pluma_app_create_window (PlumaApp *app,GdkScreen *screen); const GList * pluma_app_get_windows (PlumaApp *app); PlumaWindow * pluma_app_get_active_window (PlumaApp *app); GList * pluma_app_get_documents (PlumaApp *app); GList * pluma_app_get_views (PlumaApp *app); PlumaLockdownMask pluma_app_get_lockdown (PlumaApp *app);
typedef enum {
PLUMA_LOCKDOWN_COMMAND_LINE = 1 << 0,
PLUMA_LOCKDOWN_PRINTING = 1 << 1,
PLUMA_LOCKDOWN_PRINT_SETUP = 1 << 2,
PLUMA_LOCKDOWN_SAVE_TO_DISK = 1 << 3,
PLUMA_LOCKDOWN_ALL = 0xF
} PlumaLockdownMask;
PlumaApp * pluma_app_get_default (void);
Returns the PlumaApp object. This object is a singleton and represents the running pluma instance.
Returns : |
the PlumaApp pointer |
PlumaWindow * pluma_app_create_window (PlumaApp *app,GdkScreen *screen);
Create a new PlumaWindow part of app.
|
the PlumaApp |
Returns : |
the new PlumaWindow |
const GList * pluma_app_get_windows (PlumaApp *app);
Returns all the windows currently present in PlumaApp.
|
the PlumaApp |
Returns : |
the list of PlumaWindows objects. The list should not be freed |
PlumaWindow * pluma_app_get_active_window (PlumaApp *app);
Retrives the PlumaWindow currently active.
|
the PlumaApp |
Returns : |
the active PlumaWindow |
GList * pluma_app_get_documents (PlumaApp *app);
Returns all the documents currently open in PlumaApp.
|
the PlumaApp |
Returns : |
a newly allocated list of PlumaDocument objects |
GList * pluma_app_get_views (PlumaApp *app);
Returns all the views currently present in PlumaApp.
PlumaLockdownMask pluma_app_get_lockdown (PlumaApp *app);
Gets the lockdown mask (see PlumaLockdownMask) for the application. The lockdown mask determines which functions are locked down using the MATE-wise lockdown GSettings keys.
|
a PlumaApp |