diff options
author | Ted Gould <ted@canonical.com> | 2009-09-03 14:16:01 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-03 14:16:01 -0500 |
commit | 6738b6bfb2d6a740119da23936c941f1ab56d4fa (patch) | |
tree | 4947b7ab224de9adf430600eec915a8fe2767f65 /libdbusmenu-gtk/menuitem.h | |
parent | e7c1a0be55b9f48aa2efd74462e67181f9e7a4d2 (diff) | |
parent | cba32423d5f5efd72e3fc3210f93ec1522c270f4 (diff) | |
download | libdbusmenu-6738b6bfb2d6a740119da23936c941f1ab56d4fa.tar.gz libdbusmenu-6738b6bfb2d6a740119da23936c941f1ab56d4fa.tar.bz2 libdbusmenu-6738b6bfb2d6a740119da23936c941f1ab56d4fa.zip |
Merging in support for image items. Including encoding and decoding the images across DBus.
Diffstat (limited to 'libdbusmenu-gtk/menuitem.h')
-rw-r--r-- | libdbusmenu-gtk/menuitem.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/libdbusmenu-gtk/menuitem.h b/libdbusmenu-gtk/menuitem.h new file mode 100644 index 0000000..ff458de --- /dev/null +++ b/libdbusmenu-gtk/menuitem.h @@ -0,0 +1,39 @@ +/* +A library to take the object model made consistent by libdbusmenu-glib +and visualize it in GTK. + +Copyright 2009 Canonical Ltd. + +Authors: + Ted Gould <ted@canonical.com> + +This program is free software: you can redistribute it and/or modify it +under the terms of either or both of the following licenses: + +1) the GNU Lesser General Public License version 3, as published by the +Free Software Foundation; and/or +2) the GNU Lesser General Public License version 2.1, as published by +the Free Software Foundation. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranties of +MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR +PURPOSE. See the applicable version of the GNU Lesser General Public +License for more details. + +You should have received a copy of both the GNU Lesser General Public +License version 3 and version 2.1 along with this program. If not, see +<http://www.gnu.org/licenses/> +*/ + +#ifndef __DBUSMENU_GTKMENUITEM_H__ +#define __DBUSMENU_GTKMENUITEM_H__ 1 + +#include <glib.h> +#include <gdk-pixbuf/gdk-pixbuf.h> +#include <libdbusmenu-glib/menuitem.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); + +#endif |