gtkWindowSetIconFromFile: gtkWindowSetIconFromFile

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

Description

Sets the icon for window. Warns on failure if err is NULL.

Usage

1
gtkWindowSetIconFromFile(object, filename, .errwarn = TRUE)

Arguments

object

a GtkWindow

filename

location of icon file

.errwarn

Whether to issue a warning on error or fail silently

Details

This function is equivalent to calling gtkWindowSetIcon with a pixbuf created by loading the image from filename. Since 2.2

Value

A list containing the following elements:

retval

[logical] TRUE if setting the icon succeeded.

error

location to store error, or NULL. [ allow-none ]

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.