OssoABookMenuExtension

OssoABookMenuExtension

Synopsis

#define             OSSO_ABOOK_DEFINE_MENU_PLUGIN       (TN, t_n, TP, LC, UC)
#define             OSSO_ABOOK_DEFINE_MENU_PLUGIN_SYMBOLS(t_n, LC, UC)
                    OssoABookMenuEntry;
                    OssoABookMenuExtension;
int                 osso_abook_menu_extension_get_n_menu_entries
                                                        (OssoABookMenuExtension *menu_extension);
const OssoABookMenuEntry* osso_abook_menu_extension_get_menu_entries
                                                        (OssoABookMenuExtension *menu_extension);

Object Hierarchy

  GObject
   +----OssoABookMenuExtension

Properties

  "parent"                   GtkWindow*            : Read / Write

Description

A longer description goes here.

Details

OSSO_ABOOK_DEFINE_MENU_PLUGIN()

#define             OSSO_ABOOK_DEFINE_MENU_PLUGIN(TN, t_n, TP, LC, UC)

OSSO_ABOOK_DEFINE_MENU_PLUGIN_SYMBOLS()

#define             OSSO_ABOOK_DEFINE_MENU_PLUGIN_SYMBOLS(t_n, LC, UC)

OssoABookMenuEntry

typedef struct {
        const char      *label;
        unsigned         accel_key;
        GdkModifierType  accel_mods;
        GCallback        callback;
        const char      *name;
} OssoABookMenuEntry;

OssoABookMenuExtension

typedef struct _OssoABookMenuExtension OssoABookMenuExtension;

osso_abook_menu_extension_get_n_menu_entries ()

int                 osso_abook_menu_extension_get_n_menu_entries
                                                        (OssoABookMenuExtension *menu_extension);

menu_extension : a OssoABookMenuExtension
Returns : The number of menu entries provided by the extension.

osso_abook_menu_extension_get_menu_entries ()

const OssoABookMenuEntry* osso_abook_menu_extension_get_menu_entries
                                                        (OssoABookMenuExtension *menu_extension);

menu_extension : a OssoABookMenuExtension
Returns : An array of menu entries.

Property Details

The "parent" property

  "parent"                   GtkWindow*            : Read / Write

Transient parent for extension widgets.