aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-08-24 15:41:33 -0500
committerTed Gould <ted@gould.cx>2011-08-24 15:41:33 -0500
commited8019171e235d1bf852aa3e31c3cfeda6c0a7ed (patch)
tree90433f2abf878249453b147b69ef3e156242f276 /libdbusmenu-gtk
parenta6df6adec3817e9be729dab1b6100983f9362c76 (diff)
downloadlibdbusmenu-ed8019171e235d1bf852aa3e31c3cfeda6c0a7ed.tar.gz
libdbusmenu-ed8019171e235d1bf852aa3e31c3cfeda6c0a7ed.tar.bz2
libdbusmenu-ed8019171e235d1bf852aa3e31c3cfeda6c0a7ed.zip
Adding discriptive text to the enums
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r--libdbusmenu-gtk/genericmenuitem.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/genericmenuitem.h b/libdbusmenu-gtk/genericmenuitem.h
index 74db2ae..0b7df55 100644
--- a/libdbusmenu-gtk/genericmenuitem.h
+++ b/libdbusmenu-gtk/genericmenuitem.h
@@ -68,6 +68,8 @@ struct _Genericmenuitem {
* @GENERICMENUITEM_CHECK_TYPE_NONE: No check
* @GENERICMENUITEM_CHECK_TYPE_CHECKBOX: Nice little check
* @GENERICMENUITEM_CHECK_TYPE_RADIO: Radio button
+ *
+ * Tracks what type of checkmark should be shown on the item
*/
typedef enum { /*< prefix=GENERICMENUITEM_CHECK_TYPE >*/
GENERICMENUITEM_CHECK_TYPE_NONE,
@@ -80,6 +82,8 @@ typedef enum { /*< prefix=GENERICMENUITEM_CHECK_TYPE >*/
* @GENERICMENUITEM_STATE_UNCHECKED: No check visisble
* @GENERICMENUITEM_STATE_CHECKED: Check visible
* @GENERICMENUITEM_STATE_INDETERMINATE: We have no clue
+ *
+ * What the state of the check mark on the item is
*/
typedef enum { /*< prefix=GENERICMENUITEM_STATE >*/
GENERICMENUITEM_STATE_UNCHECKED,
@@ -93,6 +97,8 @@ typedef enum { /*< prefix=GENERICMENUITEM_STATE >*/
* @GENERICMENUITEM_DISPOSITION_INFORMATIONAL: Item is informational
* @GENERICMENUITEM_DISPOSITION_WARNING: Oh, you should watch out for this one
* @GENERICMENUITEM_DISPOSITION_ALERT: Boom!
+ *
+ * What the disposition of the menu item is
*/
typedef enum { /*< prefix=GENERICMENUITEM_DISPOSITION >*/
GENERICMENUITEM_DISPOSITION_NORMAL,