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.
menuitem |
The Menuitem to set the property on. |
property |
Name of the property to set. |
data |
The image to place on the property. |
Whether the function was able to set the property or not. |