menuitem_property_get_image


Description:


public Pixbuf menuitem_property_get_image (Menuitem menuitem, string 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 Pixbuf. It assumes that the property is a base64 encoded PNG file like the one created by dbusmenu_menuite_property_set_image.

Parameters:

menuitem

The Menuitem to look for the property on

property

The name of the property to look for.

Returns:

A pixbuf or NULL to signal error.


Namespace: DbusmenuGtk



2022 vala-language.org