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

gtkWindowSetIconList

gtkWindowSetIconList


Description

Sets up the icon representing a GtkWindow. The icon is used when the window is minimized (also known as iconified). Some window managers or desktop environments may also place it in the window frame, or display it in other contexts.

Usage

gtkWindowSetIconList(object, list)

Arguments

object

a GtkWindow

list

list of GdkPixbuf. [ element-type GdkPixbuf][ transfer container ]

Details

gtkWindowSetIconList allows you to pass in the same icon in several hand-drawn sizes. The list should contain the natural sizes your icon is available in; that is, don't scale the image before passing it to GTK+. Scaling is postponed until the last minute, when the desired final size is known, to allow best quality.

By passing several sizes, you may improve the final image quality of the icon, by reducing or eliminating automatic image scaling.

Recommended sizes to provide: 16x16, 32x32, 48x48 at minimum, and larger images (64x64, 128x128) if you have them.

See also gtkWindowSetDefaultIconList to set the icon for all windows in your application in one go.

Note that transient windows (those who have been set transient for another window using gtkWindowSetTransientFor) will inherit their icon from their transient parent. So there's no need to explicitly set the icon on transient windows.

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.