diff options
author | Ted Gould <ted@gould.cx> | 2010-06-09 20:39:21 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-06-09 20:39:21 -0500 |
commit | 2c464b6b4c16d4dc32090706ecfc7c198d68c84e (patch) | |
tree | 71e130f485504384a216138a9c1597f53f9ff735 /libdbusmenu-gtk/menuitem.h | |
parent | 9c4988079766e6c5398852b8b7f78188b6aee369 (diff) | |
download | libdbusmenu-2c464b6b4c16d4dc32090706ecfc7c198d68c84e.tar.gz libdbusmenu-2c464b6b4c16d4dc32090706ecfc7c198d68c84e.tar.bz2 libdbusmenu-2c464b6b4c16d4dc32090706ecfc7c198d68c84e.zip |
Switching things around to expose the key and modifier more as it's more useful.
Diffstat (limited to 'libdbusmenu-gtk/menuitem.h')
-rw-r--r-- | libdbusmenu-gtk/menuitem.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libdbusmenu-gtk/menuitem.h b/libdbusmenu-gtk/menuitem.h index aacab42..ba01549 100644 --- a/libdbusmenu-gtk/menuitem.h +++ b/libdbusmenu-gtk/menuitem.h @@ -32,11 +32,13 @@ License version 3 and version 2.1 along with this program. If not, see #include <glib.h> #include <gdk-pixbuf/gdk-pixbuf.h> #include <libdbusmenu-glib/menuitem.h> +#include <gdk/gdk.h> gboolean dbusmenu_menuitem_property_set_image (DbusmenuMenuitem * menuitem, const gchar * property, const GdkPixbuf * data); GdkPixbuf * dbusmenu_menuitem_property_get_image (DbusmenuMenuitem * menuitem, const gchar * property); -gboolean dbusmenu_menuitem_property_set_shortcut (DbusmenuMenuitem * menuitem, const gchar * shortcut); -gchar * dbusmenu_menuitem_property_get_shortcut (DbusmenuMenuitem * menuitem); +gboolean dbusmenu_menuitem_property_set_shortcut (DbusmenuMenuitem * menuitem, guint key, GdkModifierType modifier); +gboolean dbusmenu_menuitem_property_set_shortcut_string (DbusmenuMenuitem * menuitem, const gchar * shortcut); +void dbusmenu_menuitem_property_get_shortcut (DbusmenuMenuitem * menuitem, guint * key, GdkModifierType * modifiers); #endif |