Gtk2::StatusIcon man page on aLinux
[printable version]
Gtk2::StatusIcon(3) User Contributed Perl Documentation Gtk2::StatusIcon(3)
NAME
Gtk2::StatusIcon
HIERARCHY
Glib::Object
+----Gtk2::StatusIcon
METHODS
statusicon = Gtk2::StatusIcon->new
statusicon = Gtk2::StatusIcon->new_from_file ($filename)
· $filename (localized file name)
statusicon = Gtk2::StatusIcon->new_from_icon_name ($icon_name)
· $icon_name (string)
statusicon = Gtk2::StatusIcon->new_from_pixbuf ($pixbuf)
· $pixbuf (Gtk2::Gdk::Pixbuf)
statusicon = Gtk2::StatusIcon->new_from_stock ($stock_id)
· $stock_id (string)
boolean = $status_icon->get_blinking
$status_icon->set_blinking ($blinking)
· $blinking (boolean)
$status_icon->set_from_file ($filename)
· $filename (localized file name)
$status_icon->set_from_icon_name ($icon_name)
· $icon_name (string)
$status_icon->set_from_pixbuf ($pixbuf)
· $pixbuf (Gtk2::Gdk::Pixbuf or undef)
$status_icon->set_from_stock ($stock_id)
· $stock_id (string)
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
list = Gtk2::StatusIcon::position_menu ($menu, $x, $y, $icon)
· $menu (Gtk2::Menu)
· $x (integer)
· $y (integer)
· $icon (Gtk2::StatusIcon)
This function can be used as the menu_pos_func argument to
Gtk2::Menu::popup.
integer = $status_icon->get_size
string or undef = $status_icon->get_stock
imagetype = $status_icon->get_storage_type
$status_icon->set_tooltip ($tooltip_text)
· $tooltip_text (string or undef)
boolean = $status_icon->get_visible
$status_icon->set_visible ($visible)
· $visible (boolean)
PROPERTIES
'blinking' (boolean : readable / writable / private)
Whether or not the status icon is blinking
'file' (string : writable / private)
Filename to load and display
'icon-name' (string : readable / writable / private)
The name of the icon from the icon theme
'pixbuf' (Gtk2::Gdk::Pixbuf : readable / writable / private)
A GdkPixbuf to display
'size' (integer : readable / private)
The size of the icon
'stock' (string : readable / writable / private)
Stock ID for a stock image to display
'storage-type' (Gtk2::ImageType : readable / private)
The representation being used for image data
'visible' (boolean : readable / writable / private)
Whether or not the status icon is visible
SIGNALS
popup-menu (Gtk2::StatusIcon, Glib::UInt, Glib::UInt)
activate (Gtk2::StatusIcon)
boolean = size-changed (Gtk2::StatusIcon, integer)
ENUMS AND FLAGS
enum Gtk2::ImageType
· 'empty' / 'GTK_IMAGE_EMPTY'
· 'pixmap' / 'GTK_IMAGE_PIXMAP'
· 'image' / 'GTK_IMAGE_IMAGE'
· 'pixbuf' / 'GTK_IMAGE_PIXBUF'
· 'stock' / 'GTK_IMAGE_STOCK'
· 'icon-set' / 'GTK_IMAGE_ICON_SET'
· 'animation' / 'GTK_IMAGE_ANIMATION'
· 'icon-name' / 'GTK_IMAGE_ICON_NAME'
SEE ALSO
Gtk2, Glib::Object
COPYRIGHT
Copyright (C) 2003-2006 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.10.0 2008-08-29 Gtk2::StatusIcon(3)
[top]
List of man pages available for aLinux
Copyright (c) for man pages and the logo by the respective OS vendor.
For those who want to learn more, the polarhome community provides shell access and support.
[legal]
[privacy]
[GNU]
[policy]
[cookies]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
|
Vote for polarhome
|