SystemTray::Applet::CmdLine - Sometimes text is all you need


SystemTray-Applet documentation  | view source Contained in the SystemTray-Applet distribution.

Index


NAME

Top

SystemTray::Applet::CmdLine - Sometimes text is all you need

VERSION

Top

Version 0.01

SYNOPSIS

Top

This module supplies a subclass of SystemTray::Applet that allows you to display applets when all you have is a command line.

    use SystemTray::Applet::CmdLine;

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

FUNCTIONS

Top

init

 $self->init();

Initialize the toolkit env. Nothing need to be done for the command line.

start

 $self->start();

Start the gui up. The command line doesn't have an event loop of its own so this just loops around for ever , calling the callback as needed.

create_icon

 $self->create_icon("what is a text icon" );

Create a command line icon? Text doesn't really have icons

display

 $self->display();

Display the value of the text field to screen.

schedule

 $self->schedule();

Schedule the callback by setting the counter back to the frequency

_order

This specifies the priority used by SystemTray::Applet->new when loading plugin. The command line should only be used when nothing else is available.

AUTHOR

Top

Peter Sinnott, <psinnott at cpan.org>

BUGS

Top

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. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

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

    perldoc SystemTray::Applet::CmdLine




You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=SystemTray-Applet

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/SystemTray-Applet

* CPAN Ratings

http://cpanratings.perl.org/d/SystemTray-Applet

* Search CPAN

http://search.cpan.org/dist/SystemTray-Applet

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


SystemTray-Applet documentation  | view source Contained in the SystemTray-Applet distribution.