|
NAMEGtk2::StatusIcon - wrapper for GtkStatusIconHIERARCHYGlib::Object +----Gtk2::StatusIcon METHODSstatusicon = Gtk2::StatusIcon->newstatusicon = Gtk2::StatusIcon->new_from_file ($filename)
statusicon = Gtk2::StatusIcon->new_from_icon_name ($icon_name)
statusicon = Gtk2::StatusIcon->new_from_pixbuf ($pixbuf)
statusicon = Gtk2::StatusIcon->new_from_stock ($stock_id)
boolean = $status_icon->get_blinking$status_icon->set_blinking ($blinking)
$status_icon->set_from_file ($filename)
$status_icon->set_from_icon_name ($icon_name)
$status_icon->set_from_pixbuf ($pixbuf)
$status_icon->set_from_stock ($stock_id)
list = $status_icon->get_geometryboolean = $status_icon->get_has_tooltipSince: gtk+ 2.16$status_icon->set_has_tooltip ($has_tooltip)
Since: gtk+ 2.16 string or undef = $status_icon->get_icon_nameboolean = $status_icon->is_embedded$status_icon->set_name ($name)
Since: gtk+ 2.20 pixbuf or undef = $status_icon->get_pixbuf(x, y, push_in) = Gtk2::StatusIcon::position_menu (menu, icon)(x, y, push_in) = Gtk2::StatusIcon::position_menu (menu, x, y, icon)
This function takes four arguments so that it may be passed directly as the menu position callback to Gtk2::Menu::popup(), which passes in initial x and y values for historical reasons. Otherwise, you need only pass two arguments. This function can be used as the menu_pos_func argument to Gtk2::Menu::popup. screen = $status_icon->get_screenSince: gtk+ 2.12$status_icon->set_screen ($screen)
Since: gtk+ 2.12 integer = $status_icon->get_sizestring or undef = $status_icon->get_stockimagetype = $status_icon->get_storage_typestring = $status_icon->get_titleSince: gtk+ 2.18$status_icon->set_title ($title)
Since: gtk+ 2.18 string or undef = $status_icon->get_tooltip_markupSince: gtk+ 2.16$status_icon->set_tooltip_markup ($markup)
Since: gtk+ 2.16 $status_icon->set_tooltip ($tooltip_text)
string or undef = $status_icon->get_tooltip_textSince: gtk+ 2.16$status_icon->set_tooltip_text ($text)
Since: gtk+ 2.16 boolean = $status_icon->get_visible$status_icon->set_visible ($visible)
unsigned = $status_icon->get_x11_window_idSince: gtk+ 2.14PROPERTIES
SIGNALS
ENUMS AND FLAGSenum Gtk2::ImageType
enum Gtk2::Orientation
SEE ALSOGtk2, Glib::ObjectCOPYRIGHTCopyright (C) 2003-2011 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Visit the GSP FreeBSD Man Page Interface. |