UI::Dialog::Backend::NotifySend - backend for notify-send(1).
use UI::Dialog::Backend::NotifySend; my $ns = new UI::Dialog::Backend::NotifySend (); $ns->notify_send( subject => "Subject of notification." );
UI::Dialog::Backend::NotifySend is an OOPerl wrapper for the notify-send(1) program.
Use this module to notify end-users via the notification daemon (Desktop Notifications). Requires the notify-send(1) progam to be installed (the libnotify-bin package in Debian).
None
UI::Dialog::Backend
my $ns = new UI::Dialog::Backend::NotifySend ( );
This is the Class Constructor method. It accepts a list of key => value pairs and uses them as the defaults when interacting with the various widgets. All methods accept the same arguments as new() except that the arguments passed to the methods are temporarily used instead of making them the default as the new() method does.
A blessed object reference of the UI::Dialog::Backend::NotifySend class.
The (...)'s after each option indicate the default for the option. An * denotes support by all the widget methods on a per-use policy defaulting to the values decided during object creation.
$ns->notify_send( subject => "Notification subject", body => "Some text to display" );
Display a notification to the end user.
Nothing.
UI::Dialog UI::Dialog::Backend
osd_cat(1)
Please email the author with any bug reports. Include the name of the module in the subject line.
Kevin C. Krinke, <kevin@krinke.ca>
Copyright (C) 2004-2016 Kevin C. Krinke <kevin@krinke.ca> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
To install UI::Dialog, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UI::Dialog
CPAN shell
perl -MCPAN -e shell install UI::Dialog
For more information on module installation, please visit the detailed CPAN module installation guide.