diff options
author | Ted Gould <ted@gould.cx> | 2011-03-16 10:23:03 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-03-16 10:23:03 -0500 |
commit | 4c20267a1c5db9f7b259524ea92403a8caeb58ab (patch) | |
tree | d0d8c967c3ede264342ccf39cd853adb90d83ef0 /libdbusmenu-glib | |
parent | 7b45ed929b6c83335034ee9e3b98cf6dd7891b7a (diff) | |
download | libdbusmenu-4c20267a1c5db9f7b259524ea92403a8caeb58ab.tar.gz libdbusmenu-4c20267a1c5db9f7b259524ea92403a8caeb58ab.tar.bz2 libdbusmenu-4c20267a1c5db9f7b259524ea92403a8caeb58ab.zip |
Adding defines for the event ids
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r-- | libdbusmenu-glib/menuitem.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libdbusmenu-glib/menuitem.h b/libdbusmenu-glib/menuitem.h index f4eb989..afd1d4e 100644 --- a/libdbusmenu-glib/menuitem.h +++ b/libdbusmenu-glib/menuitem.h @@ -267,6 +267,32 @@ G_BEGIN_DECLS */ #define DBUSMENU_MENUITEM_CHILD_DISPLAY_SUBMENU "submenu" +/** + * DBUSMENU_MENUITEM_EVENT_ACTIVATED: + * + * String for the event identifier when a menu item is clicked + * on by the user. + */ +#define DBUSMENU_MENUITEM_EVENT_ACTIVATED "clicked" + +/** + * DBUSMENU_MENUITEM_EVENT_OPENED: + * + * String for the event identifier when a menu is opened and + * displayed to the user. Only valid for items that contain + * submenus. + */ +#define DBUSMENU_MENUITEM_EVENT_OPENED "opened" + +/** + * DBUSMENU_MENUITEM_EVENT_CLOSED: + * + * String for the event identifier when a menu is closed and + * displayed to the user. Only valid for items that contain + * submenus. + */ +#define DBUSMENU_MENUITEM_EVENT_CLOSED "closed" + typedef struct _DbusmenuMenuitemPrivate DbusmenuMenuitemPrivate; /** |