gtkWindowSetDefaultIconFromFile {RGtk2} | R Documentation

## gtkWindowSetDefaultIconFromFile

### Description

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

### Usage

    gtkWindowSetDefaultIconFromFile(filename, .errwarn = TRUE)

### Arguments

``filename`` | location of icon file
`.errwarn` | Whether to issue a warning on error or fail silently

### Details

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

[Package RGtk2 version 2.20.36.3 Index]