gtkImageNewFromIconName {RGtk2}R Documentation

gtkImageNewFromIconName

Description

Creates a GtkImage displaying an icon from the current icon theme. If the icon name isn't known, a "broken image" icon will be displayed instead. If the current icon theme is changed, the icon will be updated appropriately.

Usage

gtkImageNewFromIconName(icon.name, size)

Arguments

icon.name [character] an icon name
size [GtkIconSize] a stock icon size

Details

Since 2.6

Value

[GtkWidget] a new GtkImage displaying the themed icon

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]