aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/menuitem.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-30 23:25:37 -0600
committerTed Gould <ted@gould.cx>2012-01-30 23:25:37 -0600
commitd4a56efd670ae2432da8be9932df365c75ea0d72 (patch)
tree0f489d0586d6c5701c663893e64d01190819e23e /libdbusmenu-glib/menuitem.h
parent8b1876780ab91339e24d51f72f6b8f9c4a5abfed (diff)
parent9332359a3cad3a5f23e7ff0c4bae14159818d026 (diff)
downloadlibdbusmenu-d4a56efd670ae2432da8be9932df365c75ea0d72.tar.gz
libdbusmenu-d4a56efd670ae2432da8be9932df365c75ea0d72.tar.bz2
libdbusmenu-d4a56efd670ae2432da8be9932df365c75ea0d72.zip
* New upstream release.
* Add property for accessible descriptions * Use insert/remove signals on GTK3 build * Change icon data to be a byte stream instead of base64 * Adjust GTK3 include path to match other libs * Don't get objects from boolean values (LP: #870742) * Fix depreactions on GTK3 (LP: #917115)
Diffstat (limited to 'libdbusmenu-glib/menuitem.h')
-rw-r--r--libdbusmenu-glib/menuitem.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libdbusmenu-glib/menuitem.h b/libdbusmenu-glib/menuitem.h
index 985e1a3..76422f9 100644
--- a/libdbusmenu-glib/menuitem.h
+++ b/libdbusmenu-glib/menuitem.h
@@ -154,6 +154,18 @@ G_BEGIN_DECLS
*/
#define DBUSMENU_MENUITEM_PROP_ICON_DATA "icon-data"
/**
+ * DBUSMENU_MENUITEM_PROP_ACCESSIBLE_DESC:
+ *
+ * #DbusmenuMenuitem property used to provide a textual description of any
+ * information that the icon may convey. The contents of this property are
+ * passed through to assistive technologies such as the Orca screen reader.
+ * The contents of this property will not be visible in the menu item. If
+ * this property is set, Orca will use this property instead of the label
+ * property.
+ * Type: #G_VARIANT_TYPE_STRING
+ */
+#define DBUSMENU_MENUITEM_PROP_ACCESSIBLE_DESC "accessible-desc"
+/**
* DBUSMENU_MENUITEM_PROP_TOGGLE_TYPE:
*
* #DbusmenuMenuitem property that says what type of toggle entry should
@@ -485,10 +497,12 @@ gboolean dbusmenu_menuitem_property_set (DbusmenuMenuitem * mi, const gchar * pr
gboolean dbusmenu_menuitem_property_set_variant (DbusmenuMenuitem * mi, const gchar * property, GVariant * value);
gboolean dbusmenu_menuitem_property_set_bool (DbusmenuMenuitem * mi, const gchar * property, const gboolean value);
gboolean dbusmenu_menuitem_property_set_int (DbusmenuMenuitem * mi, const gchar * property, const gint value);
+gboolean dbusmenu_menuitem_property_set_byte_array (DbusmenuMenuitem * mi, const gchar * property, const guchar * value, gsize nelements);
const gchar * dbusmenu_menuitem_property_get (DbusmenuMenuitem * mi, const gchar * property);
GVariant * dbusmenu_menuitem_property_get_variant (DbusmenuMenuitem * mi, const gchar * property);
gboolean dbusmenu_menuitem_property_get_bool (DbusmenuMenuitem * mi, const gchar * property);
gint dbusmenu_menuitem_property_get_int (DbusmenuMenuitem * mi, const gchar * property);
+const guchar * dbusmenu_menuitem_property_get_byte_array (DbusmenuMenuitem * mi, const gchar * property, gsize * nelements);
gboolean dbusmenu_menuitem_property_exist (DbusmenuMenuitem * mi, const gchar * property);
GList * dbusmenu_menuitem_properties_list (DbusmenuMenuitem * mi) G_GNUC_WARN_UNUSED_RESULT;
GHashTable * dbusmenu_menuitem_properties_copy (DbusmenuMenuitem * mi);