Window.setDefaultIconFromFile

Sets an icon to be used as fallback for windows that haven't had gtk_window_set_icon_list() called on them from a file on disk. Warns on failure if @err is %NULL.

class Window
static
bool
setDefaultIconFromFile
(
string filename
)

Parameters

filename string

location of icon file

Return Value

Type: bool

%TRUE if setting the icon succeeded.

Throws

GException on failure.

Meta