Gtk2::TrayIcon 0.03 review
DownloadGtk2::TrayIcon is a Perl interface to the EggTrayIcon library. SYNOPSIS use Gtk2::TrayIcon; Gtk2->init; my $icon= Gtk
|
|
Gtk2::TrayIcon is a Perl interface to the EggTrayIcon library.
SYNOPSIS
use Gtk2::TrayIcon;
Gtk2->init;
my $icon= Gtk2::TrayIcon->new("test");
my $label= Gtk2::Label->new("test");
$icon->add($label);
$icon->show_all;
Gtk2->main;
ABSTRACT
This module allows a Perl developer to embed an arbitrary widget in a System Tray like the Gnome notification area.
EggTrayIcon is slated for inclusion in Gtk+ at some point, which is the reason the Gtk2::TrayIcon namespace. As all egg libs, EggTrayIcon is not considered api stable and its not installed as a shared object.
Enough about what it is not, Gtk2::TrayIcon is first and foremost a simple way of giving a Gtk2 script access to the system tray.
System Trays are found in both KDE and Gnome. But neither support the spec fully (see below).
Gtk2::TrayIcon is a subclass of Gtk2::Plug and should be used as such.
Requirements:
Perl
Gtk2::TrayIcon 0.03 search tags