GtkStatusIcon Constructor

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

This method must be called statically.

$pixbuf = GdkPixbuf::new_from_file('icon.png');
$tray = GtkStatusIcon::new_from_pixbuf($pixbuf);

See also: set_from_pixbuf()