| gtk-Themeable-Stock-Images {RGtk2} | R Documentation |
Manipulating stock icons
gtkIconSourceCopy(object)
gtkIconFactoryAdd(object, stock.id, icon.set)
gtkIconFactoryAddDefault(object)
gtkIconFactoryLookup(object, stock.id)
gtkIconFactoryLookupDefault(stock.id)
gtkIconFactoryNew()
gtkIconFactoryRemoveDefault(object)
gtkIconSetAddSource(object, source)
gtkIconSetCopy(object)
gtkIconSetNew()
gtkIconSetNewFromPixbuf(pixbuf)
gtkIconSetRenderIcon(object, style, direction, state, size, widget = NULL, detail = NULL)
gtkIconSizeLookup(size)
gtkIconSizeLookupForSettings(settings, size)
gtkIconSizeRegister(name, width, height)
gtkIconSizeRegisterAlias(alias, target)
gtkIconSizeFromName(name)
gtkIconSizeGetName(size)
gtkIconSetGetSizes(object)
gtkIconSourceGetDirection(object)
gtkIconSourceGetDirectionWildcarded(object)
gtkIconSourceGetFilename(object)
gtkIconSourceGetPixbuf(object)
gtkIconSourceGetIconName(object)
gtkIconSourceGetSize(object)
gtkIconSourceGetSizeWildcarded(object)
gtkIconSourceGetState(object)
gtkIconSourceGetStateWildcarded(object)
gtkIconSourceNew()
gtkIconSourceSetDirection(object, direction)
gtkIconSourceSetDirectionWildcarded(object, setting)
gtkIconSourceSetFilename(object, filename)
gtkIconSourceSetPixbuf(object, pixbuf)
gtkIconSourceSetIconName(object, icon.name)
gtkIconSourceSetSize(object, size)
gtkIconSourceSetSizeWildcarded(object, setting)
gtkIconSourceSetState(object, state)
gtkIconSourceSetStateWildcarded(object, setting)
gtkIconFactory()
GObject +----GtkIconFactory
Browse the available stock icons in the list of stock IDs found here. You can also use
the gtk-demo application for this purpose.
An icon factory manages a collection of GtkIconSet; a GtkIconSet manages a
set of variants of a particular icon (i.e. a GtkIconSet contains variants for
different sizes and widget states). Icons in an icon factory are named by a
stock ID, which is a simple string identifying the icon. Each GtkStyle has a
list of GtkIconFactory derived from the current theme; those icon factories
are consulted first when searching for an icon. If the theme doesn't set a
particular icon, GTK+ looks for the icon in a list of default icon factories,
maintained by gtkIconFactoryAddDefault and
gtkIconFactoryRemoveDefault. Applications with icons should add a default
icon factory with their icons, which will allow themes to override the icons
for the application.
To display an icon, always use gtkStyleLookupIconSet on the widget that
will display the icon, or the convenience function
gtkWidgetRenderIcon. These functions take the theme into account when
looking up the icon to use for a given stock ID.
GtkIconSource
GtkIconFactory
GtkIconSet
gtkIconFactory is the equivalent of gtkIconFactoryNew.
GtkIconSizeinvalidmenusmall-toolbarlarge-toolbarbuttondnddialog
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Themeable-Stock-Images.html