Gtk2::Notify - Perl interface to libnotify
Glib::Object
+----Gtk2::Notify
use Gtk2::Notify -init, "app_name";
my $notification = Gtk2::Notify->new(
$summary,
$message,
$icon,
$attach_widget
);
$notification->show;
use Gtk2::Notify qw/-init app_name/;
- -init
- Importing Gtk2::Notify with the -init option requires one additional
argument: the application name to use. This is equivalent to
"Gtk2::Notify->init($app_name)".
- $summary (string)
- $body (string)
- $icon (string)
- $action (string)
- $label (string)
- $callback (scalar)
- $userdata (scalar)
- $key (string)
- $value ((unknown))
- $key (string)
- $value (Glib::UChar)
- $key (string)
- $value (double)
- $key (string)
- $value (integer)
- $key (string)
- $value (scalar)
- $key (string)
- $value (string)
- $key (string)
- $value (integer)
- •
- $icon (Gtk2::Gdk::Pixbuf)
- •
- $pixbuf (Gtk2::Gdk::Pixbuf)
- $summary (string)
- $message (string)
- $icon (string)
- •
- $urgency (Gtk2::Notify::NotifyUrgency)
- 'app-name' (string : default undef : readable / writable)
- The application name to use for this notification
- 'body' (string : default undef : readable / writable / construct)
- The message body text
- 'closed-reason' (integer : default -1 : readable)
- The reason code for why the notification was closed
- 'icon-name' (string : default undef : readable / writable /
construct)
- The icon filename or icon theme-compliant name
- 'id' (integer : default 0 : readable / writable / construct)
- The notification ID
- 'summary' (string : default undef : readable / writable / construct)
- The summary text
- 'low' / 'NOTIFY_URGENCY_LOW'
- 'normal' / 'NOTIFY_URGENCY_NORMAL'
- 'critical' / 'NOTIFY_URGENCY_CRITICAL'
Please report any bugs or feature requests to
"bug-gtk2-notify at rt.cpan.org", or through
the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Gtk2-Notify>. I will be
notified, and then you'll automatically be notified of progress on your bug as
I make changes.
You can find documentation for this module with the perldoc command.
perldoc Gtk2::Notify
You can also look for information at:
- AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/Gtk2-Notify>
- CPAN Ratings
<http://cpanratings.perl.org/d/Gtk2-Notify>
- RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Gtk2-Notify>
- Search CPAN
<http://search.cpan.org/dist/Gtk2-Notify>
Gtk2::Notify, Glib::Object
Copyright (C) 2006-2008 by Florian Ragwitz