diff options
author | Ted Gould <ted@gould.cx> | 2011-03-16 10:29:58 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-03-16 10:29:58 -0500 |
commit | 7be07c87e6f01fa30fc66a2d3d05e868f29d362a (patch) | |
tree | 9a70364818ae894f986b9b39603c0520d6529f37 /libdbusmenu-glib/menuitem.h | |
parent | 7b45ed929b6c83335034ee9e3b98cf6dd7891b7a (diff) | |
parent | d2243c9e779c8b7038a6dff55f0cd1d5a0721351 (diff) | |
download | libdbusmenu-7be07c87e6f01fa30fc66a2d3d05e868f29d362a.tar.gz libdbusmenu-7be07c87e6f01fa30fc66a2d3d05e868f29d362a.tar.bz2 libdbusmenu-7be07c87e6f01fa30fc66a2d3d05e868f29d362a.zip |
Adding defines for the event identifiers
Diffstat (limited to 'libdbusmenu-glib/menuitem.h')
-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; /** |