RGtk2 (version 2.20.31)

gtkImageNewFromGicon: gtkImageNewFromGicon

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

gtkImageNewFromGicon(icon, size, show = TRUE)

Arguments

icon
an icon
size
a stock icon size. [ type int]

Value

GtkWidget] a new GtkImage displaying the themed icon

Details

Since 2.14