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. Since 2.2

class Window
static
int
setDefaultIconFromFile
(
string filename
)

Parameters

filename string

location of icon file

Return Value

Type: int

TRUE if setting the icon succeeded.

Throws

GException on failure.

Meta