menuitem_property_set_image


Description:


public bool menuitem_property_set_image (Menuitem menuitem, string property, Pixbuf 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 Menuitem property.

Parameters:

menuitem

The Menuitem 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.


Namespace: DbusmenuGtk