aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk/menuitem.h
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2011-02-24 22:42:58 -0500
committerKen VanDine <ken.vandine@canonical.com>2011-02-24 22:42:58 -0500
commitf40abc3f546c829edb4d059b2a4c1cfe1aa9eb81 (patch)
tree4d1246b94fd64432e727cc1c2e8b07cb531f4a14 /libdbusmenu-gtk/menuitem.h
parent5d4e1c63e3e0fc2bcce9e1217e6565b8d16a83b4 (diff)
parent9e20f80e0b1b0e804c6b9d37c8faaf719ace90ff (diff)
downloadlibdbusmenu-f40abc3f546c829edb4d059b2a4c1cfe1aa9eb81.tar.gz
libdbusmenu-f40abc3f546c829edb4d059b2a4c1cfe1aa9eb81.tar.bz2
libdbusmenu-f40abc3f546c829edb4d059b2a4c1cfe1aa9eb81.zip
* New upstream release.
* Add a signal on the menuitem for generic event support * Handle the case of a single NULL entry as well. * Not checking defaults when value is NULL * Add the 'type' variable first when processing new menuitems * Protection from unref'ing NULL variants * Only send the requested properties and request fewer * Add in a defaults database * Only send property updates if the menu item has been seen on the bus. * Add a property for text direction. * Add a property for needing attention. * Documentation fixes * Making menuitems track their own parents * Resolving property changes by looking at the properties directly.
Diffstat (limited to 'libdbusmenu-gtk/menuitem.h')
-rw-r--r--libdbusmenu-gtk/menuitem.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/menuitem.h b/libdbusmenu-gtk/menuitem.h
index 6f009df..41f2187 100644
--- a/libdbusmenu-gtk/menuitem.h
+++ b/libdbusmenu-gtk/menuitem.h
@@ -45,6 +45,17 @@ gboolean dbusmenu_menuitem_property_set_shortcut_string (DbusmenuMenuitem * menu
gboolean dbusmenu_menuitem_property_set_shortcut_menuitem (DbusmenuMenuitem * menuitem, const GtkMenuItem * gmi);
void dbusmenu_menuitem_property_get_shortcut (DbusmenuMenuitem * menuitem, guint * key, GdkModifierType * modifier);
+/**
+ SECTION:menuitem
+ @short_description: Helpers for #DbusmenuMenuitem properties that require a GTK dependency
+ @stability: Unstable
+ @include: libdbusmenu-gtk/menuitem.h
+
+ Some property helpers can't be done without picking up a GTK+
+ dependency. So those sit in libdbusmenu-gtk but have very similar
+ prototypes to the code in libdbusmenu-glib so your code will
+ look consistent, just with the extra depedency.
+*/
G_END_DECLS
#endif