~chrisccoulson/libdbusmenu/lp729187

« back to all changes in this revision

Viewing changes to libdbusmenu-glib/menuitem.h

  • Committer: Ted Gould
  • Date: 2011-03-16 15:29:58 UTC
  • mfrom: (274.1.4 event-defines)
  • Revision ID: ted@gould.cx-20110316152958-d7fhv328h829t3nj
Adding defines for the event identifiers

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
 */
268
268
#define DBUSMENU_MENUITEM_CHILD_DISPLAY_SUBMENU      "submenu"
269
269
 
 
270
/**
 
271
 * DBUSMENU_MENUITEM_EVENT_ACTIVATED:
 
272
 *
 
273
 * String for the event identifier when a menu item is clicked
 
274
 * on by the user.
 
275
 */
 
276
#define DBUSMENU_MENUITEM_EVENT_ACTIVATED            "clicked"
 
277
 
 
278
/**
 
279
 * DBUSMENU_MENUITEM_EVENT_OPENED:
 
280
 *
 
281
 * String for the event identifier when a menu is opened and
 
282
 * displayed to the user.  Only valid for items that contain
 
283
 * submenus.
 
284
 */
 
285
#define DBUSMENU_MENUITEM_EVENT_OPENED               "opened"
 
286
 
 
287
/**
 
288
 * DBUSMENU_MENUITEM_EVENT_CLOSED:
 
289
 *
 
290
 * String for the event identifier when a menu is closed and
 
291
 * displayed to the user.  Only valid for items that contain
 
292
 * submenus.
 
293
 */
 
294
#define DBUSMENU_MENUITEM_EVENT_CLOSED               "closed"
 
295
 
270
296
typedef struct _DbusmenuMenuitemPrivate DbusmenuMenuitemPrivate;
271
297
 
272
298
/**