Learn R Programming

RGtk2 (version 2.20.31)

gtkImageNewFromIconName: 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
an icon name
size
a stock icon size. [ type int]

Value

GtkWidget] a new GtkImage displaying the themed icon

Details

Since 2.6