GThemedIcon

0th

Percentile

GThemedIcon

Icon theming support

Keywords
internal
Methods and Functions

gThemedIconNew(iconname = NULL) gThemedIconNewFromNames(iconnames, len) gThemedIconNewWithDefaultFallbacks(iconname) gThemedIconPrependName(object, iconname) gThemedIconAppendName(object, iconname) gThemedIconGetNames(object) gThemedIcon(iconname, iconnames, len)

Hierarchy

GObject
   +----GThemedIcon

Interfaces

GThemedIcon implements GIcon.

Detailed Description

GThemedIcon is an implementation of GIcon that supports icon themes. GThemedIcon contains a list of all of the icons present in an icon theme, so that icons can be looked up quickly. GThemedIcon does not provide actual pixmaps for icons, just the icon names. Ideally something like gtkIconThemeChooseIcon should be used to resolve the list of names so that fallback icons work nicely with themes that inherit other themes.

Structures

Convenient Construction

gThemedIcon is the result of collapsing the constructors of GThemedIcon (gThemedIconNew, gThemedIconNewWithDefaultFallbacks, gThemedIconNewFromNames) and accepts a subset of its arguments matching the required arguments of one of its delegate constructors.

Properties

name [character : * : Write / Construct Only]
The icon name. Default value: NULL
names [character list : Read / Write / Construct Only]
A list of icon names.
use-default-fallbacks [logical : Read / Write / Construct Only]
Whether to use the default fallbacks found by shortening the icon name at '-' characters. If the "names" list has more than one element, ignores any past the first. For example, if the icon name was "gnome-dev-cdrom-audio", the list would become
c("gnome-dev-cdrom-audio", "gnome-dev-cdrom", "gnome-dev", "gnome") 
Default value: FALSE

References

http://library.gnome.org/devel//gio/GThemedIcon.html

Aliases
  • GThemedIcon
  • gThemedIcon
Documentation reproduced from package RGtk2, version 2.20.31, License: GPL

Community examples

Looks like there are no examples yet.