=head1 NAME

Gtk2::StatusIcon

=head1 HIERARCHY

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


=head1 METHODS

=head2 statusicon = Gtk2::StatusIcon-E<gt>B<new> 

=over

=back

=head2 statusicon = Gtk2::StatusIcon-E<gt>B<new_from_file> ($filename)

=over

=over

=item * $filename (localized file name) 

=back

=back

=head2 statusicon = Gtk2::StatusIcon-E<gt>B<new_from_icon_name> ($icon_name)

=over

=over

=item * $icon_name (string) 

=back

=back

=head2 statusicon = Gtk2::StatusIcon-E<gt>B<new_from_pixbuf> ($pixbuf)

=over

=over

=item * $pixbuf (Gtk2::Gdk::Pixbuf) 

=back

=back

=head2 statusicon = Gtk2::StatusIcon-E<gt>B<new_from_stock> ($stock_id)

=over

=over

=item * $stock_id (string) 

=back

=back

=head2 boolean = $status_icon-E<gt>B<get_blinking> 

=over

=back

=head2 $status_icon-E<gt>B<set_blinking> ($blinking)

=over

=over

=item * $blinking (boolean) 

=back

=back

=head2 $status_icon-E<gt>B<set_from_file> ($filename)

=over

=over

=item * $filename (localized file name) 

=back

=back

=head2 $status_icon-E<gt>B<set_from_icon_name> ($icon_name)

=over

=over

=item * $icon_name (string) 

=back

=back

=head2 $status_icon-E<gt>B<set_from_pixbuf> ($pixbuf)

=over

=over

=item * $pixbuf (Gtk2::Gdk::Pixbuf or undef) 

=back

=back

=head2 $status_icon-E<gt>B<set_from_stock> ($stock_id)

=over

=over

=item * $stock_id (string) 

=back

=back

=head2 list = $status_icon-E<gt>B<get_geometry> 

=over

=back

=head2 string or undef = $status_icon-E<gt>B<get_icon_name> 

=over

=back

=head2 boolean = $status_icon-E<gt>B<is_embedded> 

=over

=back

=head2 pixbuf or undef = $status_icon-E<gt>B<get_pixbuf> 

=over

=back

=head2 (x, y, push_in) = Gtk2::StatusIcon::position_menu (menu, icon)

=head2 (x, y, push_in) = Gtk2::StatusIcon::position_menu (menu, x, y, icon)

=over

=over

=item * ... (list) 

=item * $icon (Gtk2::StatusIcon) 

=item * $y (integer) 

=item * $x (integer) 

=back




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 I<menu_pos_func> argument to
I<Gtk2::Menu::popup>.


=back

=head2 screen = $status_icon-E<gt>B<get_screen> 

=over

Since: gtk+ 2.12

=back

=head2 $status_icon-E<gt>B<set_screen> ($screen)

=over

=over

=item * $screen (Gtk2::Gdk::Screen) 

=back

Since: gtk+ 2.12

=back

=head2 integer = $status_icon-E<gt>B<get_size> 

=over

=back

=head2 string or undef = $status_icon-E<gt>B<get_stock> 

=over

=back

=head2 imagetype = $status_icon-E<gt>B<get_storage_type> 

=over

=back

=head2 $status_icon-E<gt>B<set_tooltip> ($tooltip_text)

=over

=over

=item * $tooltip_text (string or undef) 

=back

=back

=head2 boolean = $status_icon-E<gt>B<get_visible> 

=over

=back

=head2 $status_icon-E<gt>B<set_visible> ($visible)

=over

=over

=item * $visible (boolean) 

=back

=back


=head1 PROPERTIES

=over

=item 'blinking' (boolean : readable / writable / private)

Whether or not the status icon is blinking

=item 'embedded' (boolean : readable / private)

Whether or not the status icon is embedded

=item 'file' (string : writable / private)

Filename to load and display

=item 'icon-name' (string : readable / writable / private)

The name of the icon from the icon theme

=item 'orientation' (Gtk2::Orientation : readable / private)

The orientation of the tray

=item 'pixbuf' (Gtk2::Gdk::Pixbuf : readable / writable / private)

A GdkPixbuf to display

=item 'screen' (Gtk2::Gdk::Screen : readable / writable / private)

The screen where this status icon will be displayed

=item 'size' (integer : readable / private)

The size of the icon

=item 'stock' (string : readable / writable / private)

Stock ID for a stock image to display

=item 'storage-type' (Gtk2::ImageType : readable / private)

The representation being used for image data

=item 'visible' (boolean : readable / writable / private)

Whether or not the status icon is visible

=back


=head1 SIGNALS

=over

=item B<popup-menu> (Gtk2::StatusIcon, Glib::UInt, Glib::UInt)

=item B<activate> (Gtk2::StatusIcon)

=item boolean = B<size-changed> (Gtk2::StatusIcon, integer)

=back


=head1 ENUMS AND FLAGS

=head2 enum Gtk2::ImageType

=over

=item * 'empty' / 'GTK_IMAGE_EMPTY'

=item * 'pixmap' / 'GTK_IMAGE_PIXMAP'

=item * 'image' / 'GTK_IMAGE_IMAGE'

=item * 'pixbuf' / 'GTK_IMAGE_PIXBUF'

=item * 'stock' / 'GTK_IMAGE_STOCK'

=item * 'icon-set' / 'GTK_IMAGE_ICON_SET'

=item * 'animation' / 'GTK_IMAGE_ANIMATION'

=item * 'icon-name' / 'GTK_IMAGE_ICON_NAME'

=back


=head2 enum Gtk2::Orientation

=over

=item * 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'

=item * 'vertical' / 'GTK_ORIENTATION_VERTICAL'

=back



=head1 SEE ALSO

L<Gtk2>, L<Glib::Object>

=head1 COPYRIGHT

Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL.  See L<Gtk2> for a full notice.


=cut

