Learn R Programming

RGtk2 (version 2.20.31)

gThemedIconNewWithDefaultFallbacks: gThemedIconNewWithDefaultFallbacks

Description

Creates a new themed icon for iconname, and all the names that can be created by shortening iconname at '-' characters.

Usage

gThemedIconNewWithDefaultFallbacks(iconname)

Arguments

iconname
a string containing an icon name

Value

GIcon] a new GThemedIcon.

Details

In the following example, icon1 and icon2 are equivalent:
names <- c("gnome-dev-cdrom-audio", "gnome-dev-cdrom", "gnome-dev", "gnome")

icon1 <- gThemedIconNewFromNames(names) icon2 <- gThemedIconNewWithDefaultCallbacks("gnome-dev-cdrom-audio")