NAME
Win32::TSA::Notify::Icon - Icon handling for Win32 Taskbar Status Area Notification System
SYNOPSIS
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 );
DESCRIPTION
Internal module.
May be used directly by user to access this class methods only.
METHODS
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
SEE ALSO
AUTHOR
<Thomas Walloschke (thw@cpan.org)>.
COPYRIGHT AND LICENSE
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.
DATE
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:
- Around line 117:
'=item' outside of any '=over'
- Around line 145:
You forgot a '=back' before '=head1'