View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Peter Sinnott > SystemTray-Applet-Win32-0.02 > SystemTray::Applet::Win32

Download:
SystemTray-Applet-Win32-0.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.02   Source  

NAME ^

SystemTray::Applet::Win32 - Windows support for SystemTray::Applet

VERSION ^

Version 0.02

SYNOPSIS ^

This module provides windows support for SystemTray::Applet.

    use SystemTray::Applet::Win32;

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

By default the console window is hidden during program execution. If you want to leave it visible then pass 0 to the module import.

    use SystemTray::Applet::Win32 qw(0);

FUNCTIONS ^

function1

init

 $self->init();

Initialize the toolkit env. Creates the notification icon

start

 $self->start();

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

create_icon

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

Create an icon from a file and return it. Supports whatever Win32::GUI::Icon does.

display

 $self->display();

Display the icon with the text as hovertext if we have an icon or hovertext with no icon if none is specified.

schedule

 $self->schedule();

Schedule the callback.

_order

This specifies the priority used by SystemTray::Applet->new when loading plugin. Win32 is 1 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-win32 at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SystemTray-Applet-Win32. 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::Win32

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.

syntax highlighting: