get_pixbuf


Description:

[ Version ( since = "2.10" ) ]
public unowned Pixbuf? get_pixbuf ()

Gets the Pixbuf being displayed by the StatusIcon.

Note:

Use Notification and Application to provide status notifications; there is no direct replacement for this function

The storage type of the status icon must be gtk_image_empty or gtk_image_pixbuf (see get_storage_type). The caller of this function does not own a reference to the returned pixbuf.

Parameters:

this

a StatusIcon

Returns:

the displayed pixbuf, or null if the image is empty.