PHP-GTK
Sunday, October 26, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkStatusIcon::set_from_file
GtkStatusIcon::set_from_stocknext

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

GtkStatusIcon::set_from_pixbuf

Set icon image of the GtkStatusIcon using the supplied GdkPixbuf. The icon image should easily identify the state of the item being monitored by the user.

$tray = new GtkStatusIcon();
$pixbuf = GdkPixbuf::new_from_file('icon.png');
$tray->set_from_pixbuf($pixbuf);

See also: GtkStatusIcon::new_from_pixbuf()


User Contributed Notes
gtk.gtkstatusicon.method.set_from_pixbuf.php
add a note about notes
There are no user contributed notes for this page.


previousGtkStatusIcon::set_from_file
GtkStatusIcon::set_from_stocknext

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:51:00 2013 CEST