GappX::NoticeBox - NoticeBox widget
use Gapp; use Gapp::NoticeBox; $box = Gapp::NoticeBox->new; $n = Gapp::Notice->new( icon => 'gtk-info', text => 'Display notice to user.', action => sub { print "Notice clicked\n" }, );
Displays a message to the user in the notification area of the desktop.
Length of time in milliseconds to display the notice on the screen.
Length of time in milliseconds it takes for the notice to fade in/fade out.
The amount to change the up or down when fading in or out. The smaller the number, the more steps required to complete the fade.
Display GappX::Notice to the user in the notification area. If no $duration is specified, the display_duration value will be used.
$duration
display_duration
Remove the notice box from the users screen.
Sets a timer to remove the notices from the user's screen after a specified duration.
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
Copyright (c) 2010-2012 Jeffrey Ray Hallock.
This is free software, licensed under: The Artistic License 2.0 (GPL Compatible)
To install GappX::NoticeBox, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GappX::NoticeBox
CPAN shell
perl -MCPAN -e shell install GappX::NoticeBox
For more information on module installation, please visit the detailed CPAN module installation guide.