PHP-GTK
Tuesday, December 23, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkImage Constructor
GtkImage Constructornext

Last updated: Sun, 12 May 2013
view this page in English

GtkImage Constructor

Creates a GtkImage displaying an icon set. Sample stock sizes are Gtk::ICON_SIZE_MENU, Gtk::ICON_SIZE_SMALL_TOOLBAR.

Instead of using this function, usually it's better to create a GtkIconFactory, put your icon sets in the icon factory, add the icon factory to the list of default factories with add_default() , and then use GtkImage::new_from_stock() . This will allow themes to override the icon you ship with your application.

This method must be called statically.


User Contributed Notes
gtk.gtkimage.constructor.new_from_icon_set.php
add a note about notes
There are no user contributed notes for this page.


previousGtkImage Constructor
GtkImage Constructornext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:58 2013 CEST