menuitem.h | menuitem.h | |||
---|---|---|---|---|
skipping to change at line 157 | skipping to change at line 157 | |||
* DBUSMENU_MENUITEM_PROP_ICON_DATA: | * DBUSMENU_MENUITEM_PROP_ICON_DATA: | |||
* | * | |||
* #DbusmenuMenuitem property that is the raw data of a custom icon | * #DbusmenuMenuitem property that is the raw data of a custom icon | |||
* used in the application. Type: #G_VARIANT_TYPE_VARIANT | * used in the application. Type: #G_VARIANT_TYPE_VARIANT | |||
* | * | |||
* It is recommended that this is not set directly but instead the | * It is recommended that this is not set directly but instead the | |||
* libdbusmenu-gtk library is used with the function dbusmenu_menuitem_prop erty_set_image() | * libdbusmenu-gtk library is used with the function dbusmenu_menuitem_prop erty_set_image() | |||
*/ | */ | |||
#define DBUSMENU_MENUITEM_PROP_ICON_DATA "icon-data" | #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: | * DBUSMENU_MENUITEM_PROP_TOGGLE_TYPE: | |||
* | * | |||
* #DbusmenuMenuitem property that says what type of toggle entry should | * #DbusmenuMenuitem property that says what type of toggle entry should | |||
* be shown in the menu. Should be either #DBUSMENU_MENUITEM_TOGGLE_CHECK | * be shown in the menu. Should be either #DBUSMENU_MENUITEM_TOGGLE_CHECK | |||
* or #DBUSMENU_MENUITEM_TOGGLE_RADIO. Type: #G_VARIANT_TYPE_STRING | * or #DBUSMENU_MENUITEM_TOGGLE_RADIO. Type: #G_VARIANT_TYPE_STRING | |||
*/ | */ | |||
#define DBUSMENU_MENUITEM_PROP_TOGGLE_TYPE "toggle-type" | #define DBUSMENU_MENUITEM_PROP_TOGGLE_TYPE "toggle-type" | |||
/** | /** | |||
* DBUSMENU_MENUITEM_PROP_TOGGLE_STATE: | * DBUSMENU_MENUITEM_PROP_TOGGLE_STATE: | |||
* | * | |||
skipping to change at line 488 | skipping to change at line 500 | |||
DbusmenuMenuitem * dbusmenu_menuitem_find_id (DbusmenuMenuitem * mi, gint i d); | DbusmenuMenuitem * dbusmenu_menuitem_find_id (DbusmenuMenuitem * mi, gint i d); | |||
gboolean dbusmenu_menuitem_set_parent (DbusmenuMenuitem * mi, DbusmenuMenui tem * parent); | gboolean dbusmenu_menuitem_set_parent (DbusmenuMenuitem * mi, DbusmenuMenui tem * parent); | |||
gboolean dbusmenu_menuitem_unparent (DbusmenuMenuitem *mi); | gboolean dbusmenu_menuitem_unparent (DbusmenuMenuitem *mi); | |||
DbusmenuMenuitem * dbusmenu_menuitem_get_parent (DbusmenuMenuitem * mi); | DbusmenuMenuitem * dbusmenu_menuitem_get_parent (DbusmenuMenuitem * mi); | |||
gboolean dbusmenu_menuitem_property_set (DbusmenuMenuitem * mi, const gchar * property, const gchar * value); | gboolean dbusmenu_menuitem_property_set (DbusmenuMenuitem * mi, const gchar * property, const gchar * value); | |||
gboolean dbusmenu_menuitem_property_set_variant (DbusmenuMenuitem * mi, con st gchar * property, GVariant * value); | gboolean dbusmenu_menuitem_property_set_variant (DbusmenuMenuitem * mi, con st gchar * property, GVariant * value); | |||
gboolean dbusmenu_menuitem_property_set_bool (DbusmenuMenuitem * mi, const gchar * property, const gboolean value); | gboolean dbusmenu_menuitem_property_set_bool (DbusmenuMenuitem * mi, const gchar * property, const gboolean value); | |||
gboolean dbusmenu_menuitem_property_set_int (DbusmenuMenuitem * mi, const g char * property, const gint value); | gboolean dbusmenu_menuitem_property_set_int (DbusmenuMenuitem * mi, const g char * 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); | const gchar * dbusmenu_menuitem_property_get (DbusmenuMenuitem * mi, const gchar * property); | |||
GVariant * dbusmenu_menuitem_property_get_variant (DbusmenuMenuitem * mi, c onst gchar * property); | GVariant * dbusmenu_menuitem_property_get_variant (DbusmenuMenuitem * mi, c onst gchar * property); | |||
gboolean dbusmenu_menuitem_property_get_bool (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); | 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 gch ar * property); | gboolean dbusmenu_menuitem_property_exist (DbusmenuMenuitem * mi, const gch ar * property); | |||
GList * dbusmenu_menuitem_properties_list (DbusmenuMenuitem * mi) G_GNUC_WA RN_UNUSED_RESULT; | GList * dbusmenu_menuitem_properties_list (DbusmenuMenuitem * mi) G_GNUC_WA RN_UNUSED_RESULT; | |||
GHashTable * dbusmenu_menuitem_properties_copy (DbusmenuMenuitem * mi); | GHashTable * dbusmenu_menuitem_properties_copy (DbusmenuMenuitem * mi); | |||
void dbusmenu_menuitem_property_remove (DbusmenuMenuitem * mi, const gchar * property); | void dbusmenu_menuitem_property_remove (DbusmenuMenuitem * mi, const gchar * property); | |||
void dbusmenu_menuitem_set_root (DbusmenuMenuitem * mi, gboolean root); | void dbusmenu_menuitem_set_root (DbusmenuMenuitem * mi, gboolean root); | |||
gboolean dbusmenu_menuitem_get_root (DbusmenuMenuitem * mi); | gboolean dbusmenu_menuitem_get_root (DbusmenuMenuitem * mi); | |||
void dbusmenu_menuitem_foreach (DbusmenuMenuitem * mi, void (*func) (Dbusme nuMenuitem * mi, gpointer data), gpointer data); | void dbusmenu_menuitem_foreach (DbusmenuMenuitem * mi, void (*func) (Dbusme nuMenuitem * mi, gpointer data), gpointer data); | |||
void dbusmenu_menuitem_handle_event (DbusmenuMenuitem * mi, const gchar * n ame, GVariant * variant, guint timestamp); | void dbusmenu_menuitem_handle_event (DbusmenuMenuitem * mi, const gchar * n ame, GVariant * variant, guint timestamp); | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 14 lines changed or added | |||