gtkWindowSetIconFromFile {RGtk2} | R Documentation |
Sets the icon for window
.
Warns on failure if err
is NULL
.
gtkWindowSetIconFromFile(object, filename, .errwarn = TRUE)
|
[GtkWindow ] a GtkWindow |
|
[character] location of icon file |
.errwarn |
Whether to issue a warning on error or fail silently |
This function is equivalent to calling gtkWindowSetIcon
with a pixbuf created by loading the image from filename
.
Since 2.2
A list containing the following elements:
retval |
[logical] TRUE if setting the icon succeeded. |
|
[GError ] location to store error, or NULL . |
Derived by RGtkGen from GTK+ documentation