Logo Search packages:      
Sourcecode: ardour version File versions

void Gtk::Window::set_icon_list ( const Glib::ListHandle< Glib::RefPtr< Gdk::Pixbuf > > &  list  ) 

Sets up the icon representing a Gtk::Window. 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.

set_icon_list() 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 set_default_icon_list() 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 set_transient_for()) will inherit their icon from their transient parent. So there's no need to explicitly set the icon on transient windows.

list List of Gdk::Pixbuf.

Definition at line 701 of file window.cc.

References gobj().

  gtk_window_set_icon_list(gobj(), list.data());

Generated by  Doxygen 1.6.0   Back to index