Win32::TSA::Notify::Icon - Icon handling for Win32 Taskbar Status Area Notification System
use Win32::TSA::Notify::Icon; $icon = Win32::TSA::Notify::Icon->new(); $icon->change_icon( 'app' ); $icon->change_icon( 'app', 1000 ); $icon->change_icon( [ 'blue', 'red', 'green', 'yellow' ], 250 ); $icon->remove_icon; $icon->restore_icon(); $icon->restore_icon( 1000 );
Internal module.
May be used directly by user to access this class methods only.
change_icon( ICON )
change_icon( ICON, FREQUENCY )
change_icon( [ ICONS ], FREQUENCY )
The change_icon( ICON ) function changes the tray icon to ICON. After FREQUENCY milliseconds SetIcon() will return.
The change_icon( [ ICONS ] ...) function animates the object icon by cycling through all icons in the ICONS list. The icon is changed every FREQUENCY milliseconds.
ICON must be the name of one of the icons bundled with the application, but without the application prefix and ".ico" extension.
Example:
Application Name: Win32-TSA-Notify.pl ICON : application Icon Name : Win32-TSA-Notify_Application.ico
change_icon() terminates any alert() that may be in progress.
remove_icon
restore_icon
Win32::TSA::Notify
<Thomas Walloschke (thw@cpan.org)>.
Copyright (c) 2006 Thomas Walloschke (thw@cpan.org).
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Last changed $Date: 2006-09-01 02:05:08 +0200 (Fr, 01 Sep 2006) $.
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Win32::TSA::Notify, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::TSA::Notify
CPAN shell
perl -MCPAN -e shell install Win32::TSA::Notify
For more information on module installation, please visit the detailed CPAN module installation guide.