Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkIconFactoryAdd

gtkIconFactoryAdd


Description

Adds the given icon.set to the icon factory, under the name stock.id. stock.id should be namespaced for your application, e.g. "myapp-whatever-icon". Normally applications create a GtkIconFactory, then add it to the list of default factories with gtkIconFactoryAddDefault. Then they pass the stock.id to widgets such as GtkImage to display the icon. Themes can provide an icon with the same name (such as "myapp-whatever-icon") to override your application's default icons. If an icon already existed in factory for stock.id, it is unreferenced and replaced with the new icon.set.

Usage

gtkIconFactoryAdd(object, stock.id, icon.set)

Arguments

object

a GtkIconFactory

stock.id

icon name

icon.set

icon set

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.