From 59c214159f0017b5c623772d4d6f34f940ac1113 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 9 Jun 2010 15:08:32 -0500 Subject: Autogen and adding new Makefiles --- .../reference/html/libdbusmenu-gtk-menuitem.html | 133 +++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 docs/libdbusmenu-gtk/reference/html/libdbusmenu-gtk-menuitem.html (limited to 'docs/libdbusmenu-gtk/reference/html/libdbusmenu-gtk-menuitem.html') diff --git a/docs/libdbusmenu-gtk/reference/html/libdbusmenu-gtk-menuitem.html b/docs/libdbusmenu-gtk/reference/html/libdbusmenu-gtk-menuitem.html new file mode 100644 index 0000000..b3f5058 --- /dev/null +++ b/docs/libdbusmenu-gtk/reference/html/libdbusmenu-gtk-menuitem.html @@ -0,0 +1,133 @@ + + + + +menuitem + + + + + + + + + + + + + + + + + + + +
+
+
+ + +
+

menuitem

+

menuitem

+
+
+

Synopsis

+
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);
+
+
+
+

Description

+

+

+
+
+

Details

+
+

dbusmenu_menuitem_property_set_image ()

+
gboolean            dbusmenu_menuitem_property_set_image
+                                                        (DbusmenuMenuitem *menuitem,
+                                                         const gchar *property,
+                                                         const GdkPixbuf *data);
+

+This function takes the pixbuf that is stored in data and + turns it into a base64 encoded PNG so that it can be placed + onto a standard DbusmenuMenuitem property. +

+
++ + + + + + + + + + + + + + + + + + +

menuitem :

The DbusmenuMenuitem to set the property on. +

property :

Name of the property to set. +

data :

The image to place on the property. +

Returns :

Whether the function was able to set the property + or not. +
+
+
+
+

dbusmenu_menuitem_property_get_image ()

+
GdkPixbuf *         dbusmenu_menuitem_property_get_image
+                                                        (DbusmenuMenuitem *menuitem,
+                                                         const gchar *property);
+

+This function looks on the menu item for a property by the + name of property. If one exists it tries to turn it into + a GdkPixbuf. It assumes that the property is a base64 encoded + PNG file like the one created by dbusmenu_menuite_property_set_image. +

+
++ + + + + + + + + + + + + + +

menuitem :

The DbusmenuMenuite to look for the property on +

property :

The name of the property to look for. +

Returns :

A pixbuf or NULL to signal error. +
+
+
+
+ + + \ No newline at end of file -- cgit v1.2.3