The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SystemTray::Applet::Gnome - Gnome support for SystemTray::Applet

VERSION

Version 0.02

SYNOPSIS

This module provides gnome support for SystemTray::Applet.

    use SystemTray::Applet::Gnome;

    my $foo = SystemTray::Applet::CmdLine->create( "text" => "hello world" );

FUNCTIONS

init

 $self->init();

Initialize the toolkit env. Sets up Gtk2 and creates a tray icon.

start

 $self->start();

Start the gui up by starting the gtk mainloop. Never returns.

create_icon

 $self->create_icon("an_icon.jpg" );

Create an icon from a file and return it. Supports whatever gtk2::Image does.

display

 $self->display();

Display the icon with the text as hovertext if we have an icon or just the text if not.

schedule

 $self->schedule();

Schedule the callbackusing Glib::Timeout

_order

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.

AUTHOR

Peter Sinnott, <psinnott at cpan.org>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc SystemTray::Applet::Gnome

You can also look for information at:

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

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.