SystemTray::Applet::Gnome - Gnome support for SystemTray::Applet
Version 0.02
This module provides gnome support for SystemTray::Applet.
use SystemTray::Applet::Gnome; my $foo = SystemTray::Applet::CmdLine->create( "text" => "hello world" );
$self->init();
Initialize the toolkit env. Sets up Gtk2 and creates a tray icon.
$self->start();
Start the gui up by starting the gtk mainloop. Never returns.
$self->create_icon("an_icon.jpg" );
Create an icon from a file and return it. Supports whatever gtk2::Image does.
$self->display();
Display the icon with the text as hovertext if we have an icon or just the text if not.
$self->schedule();
Schedule the callbackusing Glib::Timeout
This specifies the priority used by SystemTray::Applet->new when loading plugin. Gnome is 2 as if it is installed we should probably use it.
Peter Sinnott, <psinnott at cpan.org>
<psinnott at cpan.org>
Please report any bugs or feature requests to bug-systemtray-applet-gnome at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SystemTray-Applet-Gnome. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-systemtray-applet-gnome at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc SystemTray::Applet::Gnome
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=SystemTray-Applet-Gnome
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/SystemTray-Applet-Gnome
CPAN Ratings
http://cpanratings.perl.org/d/SystemTray-Applet-Gnome
Search CPAN
http://search.cpan.org/dist/SystemTray-Applet-Gnome
Copyright 2008 Peter Sinnott, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install SystemTray::Applet::Gnome, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SystemTray::Applet::Gnome
CPAN shell
perl -MCPAN -e shell install SystemTray::Applet::Gnome
For more information on module installation, please visit the detailed CPAN module installation guide.