Set icon image of the GtkStatusIcon using the supplied filepath. The icon image should easily identify the state of the item being monitored by the user.
$tray = new GtkStatusIcon(); $tray->set_from_file('icon.png');
See also: GtkStatusIcon::new_from_file()