has_icon_name


Description:

[ Version ( since = "2.16" ) ]
public bool has_icon_name ()

Checks whether or not this has an icon name.

get_icon_name will always return some value, even if this has no icon name set; has_icon_name can be used to tell if that icon name is real or not.

(Note that if has_icon_name returns false, but has_name returns true, then the name returned by get_icon_name is this's name. Only when both methods return false does get_icon_name return a generic fallback name.)

Parameters:

this

a Window

Returns:

true if get_icon_name returns this's icon name, false if it returns a fallback name.