|$trayicon= Gtk2::TrayIcon->new_from_screen($screen, $name)||This creates a widget already connected to the notification area of $screen. $screen should be a Gtk::Gdk::Screen.|
|$trayicon= Gtk2::TrayIcon->new($name)||Like new_from_screen but uses the default screen of the active display.|
|$msgid= $trayicon->send_message($timeout, $message)||
Ask the tray to display $message for $timeout milliseconds.
If $timeout is 0, the message will not expire.
Note that it is up to the tray to decide what to do with the message both Gnome and KDE just ignores it.
|$trayicon->cancel_message($msgid)||Ask the tray to cancel the message.|
Glib, Gtk2 and The System Tray Spec http://www.freedesktop.org/Standards/systemtray-spec.
Christian Borup <gtk2-perl at borup dot com>
Copyright 2003 by the gtk2-perl team.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307 USA.
|perl v5.20.3||TRAYICON (3)||2007-05-14|