aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/menuitem.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-01-13 10:14:19 -0600
committerTed Gould <ted@gould.cx>2011-01-13 10:14:19 -0600
commit0a8cdc895f6d603d578ba73193cbeb5ecc4675ff (patch)
treeb6bf5f97cf5d8805ed292d73215964d808bd421d /libdbusmenu-glib/menuitem.h
parentdd94c4c1fa27db3555c363abf130164e6c97d510 (diff)
parentb76ed9c7f918123610e5e56bb9cdd1025d34caa1 (diff)
downloadlibdbusmenu-0a8cdc895f6d603d578ba73193cbeb5ecc4675ff.tar.gz
libdbusmenu-0a8cdc895f6d603d578ba73193cbeb5ecc4675ff.tar.bz2
libdbusmenu-0a8cdc895f6d603d578ba73193cbeb5ecc4675ff.zip
* New upstream release.
* Porting from dbus-glib to GDBus * Bumping the library ABI version * debian/*.install: Changing to be the 0.4 version of the dbusmenu API of all the filenames and paths. * debian/control: Bumping ABI version in package names
Diffstat (limited to 'libdbusmenu-glib/menuitem.h')
-rw-r--r--libdbusmenu-glib/menuitem.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdbusmenu-glib/menuitem.h b/libdbusmenu-glib/menuitem.h
index 9158f3e..a4c7611 100644
--- a/libdbusmenu-glib/menuitem.h
+++ b/libdbusmenu-glib/menuitem.h
@@ -50,6 +50,7 @@ G_BEGIN_DECLS
#define DBUSMENU_MENUITEM_SIGNAL_REALIZED "realized"
#define DBUSMENU_MENUITEM_SIGNAL_REALIZED_ID (g_signal_lookup(DBUSMENU_MENUITEM_SIGNAL_REALIZED, DBUSMENU_TYPE_MENUITEM))
#define DBUSMENU_MENUITEM_SIGNAL_SHOW_TO_USER "show-to-user"
+#define DBUSMENU_MENUITEM_SIGNAL_ABOUT_TO_SHOW "about-to-show"
#define DBUSMENU_MENUITEM_PROP_TYPE "type"
#define DBUSMENU_MENUITEM_PROP_VISIBLE "visible"
@@ -127,6 +128,7 @@ typedef void (*dbusmenu_menuitem_buildxml_slot_t) (DbusmenuMenuitem * mi, GPtrAr
* @child_removed: Slot for #DbusmenuMenuitem::child-removed.
* @child_moved: Slot for #DbusmenuMenuitem::child-moved.
* @realized: Slot for #DbusmenuMenuitem::realized.
+ * @about_to_show: Slot for #DbusmenuMenuitem::about-to-show.
* @buildxml: Virtual function that appends the strings required to represent this menu item in the menu XML file.
* @handle_event: This function is to override how events are handled by subclasses. Look at #dbusmenu_menuitem_handle_event for lots of good information.
* @send_about_to_show: Virtual function that notifies server that the client is about to show a menu.
@@ -158,6 +160,7 @@ struct _DbusmenuMenuitemClass
void (*send_about_to_show) (DbusmenuMenuitem * mi, void (*cb) (DbusmenuMenuitem * mi, gpointer user_data), gpointer cb_data);
void (*show_to_user) (DbusmenuMenuitem * mi, guint timestamp, gpointer cb_data);
+ gboolean (*about_to_show) (void);
/*< Private >*/
void (*reserved1) (void);