GeditApp

GeditApp

Functions

Properties

Types and Values

Object Hierarchy

    GObject
    ╰── GApplication
        ╰── GtkApplication
            ╰── GeditApp

Implemented Interfaces

GeditApp implements GActionGroup and GActionMap.

Description

Functions

gedit_app_create_window ()

GeditWindow *
gedit_app_create_window (GeditApp *app,
                         GdkScreen *screen);

Create a new GeditWindow part of app .

Parameters

app

the GeditApp

 

screen

.

[allow-none]

Returns

the new GeditWindow.

[transfer none]


gedit_app_get_documents ()

GList *
gedit_app_get_documents (GeditApp *app);

Returns all the documents currently open in GeditApp.

Parameters

app

the GeditApp

 

Returns

a newly allocated list of GeditDocument objects.

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


gedit_app_get_views ()

GList *
gedit_app_get_views (GeditApp *app);

Returns all the views currently present in GeditApp.

Parameters

app

the GeditApp

 

Returns

a newly allocated list of GeditView objects.

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


gedit_app_get_lockdown ()

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.

Parameters

app

a GeditApp

 

Types and Values

GeditAppPrivate

typedef struct _GeditAppPrivate GeditAppPrivate;

struct GeditApp

struct GeditApp;

enum GeditLockdownMask

Members

GEDIT_LOCKDOWN_COMMAND_LINE

   

GEDIT_LOCKDOWN_PRINTING

   

GEDIT_LOCKDOWN_PRINT_SETUP

   

GEDIT_LOCKDOWN_SAVE_TO_DISK

   

Property Details

The “lockdown” property

  “lockdown”                 GeditLockdownMask

The lockdown mask.

Flags: Read