Gtk2::StatusIcon Glib::Object +----Gtk2::StatusIcon

statusicon = Gtk2::StatusIcon->new

statusicon = 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_geometry

string or undef = $status_icon->get_icon_name

boolean = $status_icon->is_embedded

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_screen
Since: gtk+ 2.12

$status_icon->set_screen ($screen)
Since: gtk+ 2.12

integer = $status_icon->get_size

string or undef = $status_icon->get_stock

imagetype = $status_icon->get_storage_type

$status_icon->set_tooltip ($tooltip_text)

boolean = $status_icon->get_visible

$status_icon->set_visible ($visible)

unsigned = $status_icon->get_x11_window_id
Since: gtk+ 2.14 Whether or not the status icon is blinking Whether or not the status icon is embedded Filename to load and display The GIcon being displayed Whether this tray icon has a tooltip The name of the icon from the icon theme The orientation of the tray A GdkPixbuf to display The screen where this status icon will be displayed The size of the icon Stock ID for a stock image to display The representation being used for image data The contents of the tooltip for this tray icon The contents of the tooltip for this widget Whether or not the status icon is visible

enum Gtk2::ImageType

enum Gtk2::Orientation
Gtk2, Glib::Object Copyright (C) 2003-2008 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice.