get_icon


Description:

[ CCode ( cname = "xfw_window_get_icon" ) ]
public unowned Pixbuf? get_icon (int size, int scale)

Fetches this's icon.

If this has no icon, a fallback icon may be returned. Whether or not the returned icon is a fallback icon can be determined using icon_is_fallback().

Parameters:

this

an Window.

size

the desired icon size.

scale

the UI scale factor.

Returns:

a Pixbuf, owned by this, or null if this has no icon and a fallback cannot be rendered.