GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GTK2::NOTIFY (3)

.ds Aq ’

NAME

Gtk2::Notify - Perl interface to libnotify

CONTENTS

HIERARCHY



  Glib::Object
  +----Gtk2::Notify



SYNOPSIS



    use Gtk2::Notify -init, "app_name";

    my $notification = Gtk2::Notify->new(
            $summary,
            $message,
            $icon,
            $attach_widget
    );
    $notification->show;



INITIALISATION



    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).

METHODS

notify = Gtk2::Notify->new ($summary, CW$body=undef, CW$icon=undef)

o $summary (string)
o $body (string)
o $icon (string)

CW$notification->add_action ($action, CW$label, CW$callback, CW$userdata=undef)

o $action (string)
o $label (string)
o $callback (scalar)
o $userdata (scalar)

string = Gtk2::Notify->get_app_name

CW$notification->set_category ($category)

o $category (string)

CW$notification->clear_actions

CW$notification->clear_hints

notify = CW$notification->close

CW$notification->set_hint_byte_array ($key, CW$value)

o $key (string)
o $value ((unknown))

CW$notification->set_hint_byte ($key, CW$value)

o $key (string)
o $value (Glib::UChar)

CW$notification->set_hint_double ($key, CW$value)

o $key (string)
o $value (double)

CW$notification->set_hint_int32 ($key, CW$value)

o $key (string)
o $value (integer)

CW$notification->set_hint ($key, CW$value)

o $key (string)
o $value (scalar)

CW$notification->set_hint_string ($key, CW$value)

o $key (string)
o $value (string)

CW$notification->set_hint_uint32 ($key, CW$value)

o $key (string)
o $value (integer)

CW$notification->set_icon_from_pixbuf ($icon)

o $icon (Gtk2::Gdk::Pixbuf)

CW$notification->set_image_from_pixbuf ($pixbuf)

o $pixbuf (Gtk2::Gdk::Pixbuf)

boolean = Gtk2::Notify->init ($app_name)

o $app_name (string)

boolean = Gtk2::Notify->is_initted

list = Gtk2::Notify->get_server_caps

(notify, name, vendor, version, spec_version) = Gtk2::Notify->get_server_info

notify = CW$notification->show

CW$notification->set_timeout ($timeout)

o $timeout (integer)

Gtk2::Notify->uninit

boolean = CW$notification->update ($summary, CW$message=undef, CW$icon=undef)

o $summary (string)
o $message (string)
o $icon (string)

CW$notification->set_urgency ($urgency)

o $urgency (Gtk2::Notify::NotifyUrgency)

PROPERTIES

’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

SIGNALS

<B>closedB> (Gtk2::Notify)

ENUMS AND FLAGS

    enum Gtk2::Notify::NotifyUrgency

o ’low’ / ’NOTIFY_URGENCY_LOW
o ’normal’ / ’NOTIFY_URGENCY_NORMAL
o ’critical’ / ’NOTIFY_URGENCY_CRITICAL

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.



    perldoc Gtk2::Notify



You can also look for information at:
o AnnoCPAN: Annotated CPAN documentation

<http://annocpan.org/dist/Gtk2-Notify>

o CPAN Ratings

<http://cpanratings.perl.org/d/Gtk2-Notify>

o RT: CPAN’s request tracker

<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Gtk2-Notify>

o Search CPAN

<http://search.cpan.org/dist/Gtk2-Notify>

SEE ALSO

Gtk2::Notify, Glib::Object

COPYRIGHT

Copyright (C) 2006-2008 by Florian Ragwitz
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 GTK2::NOTIFY (3) 2016-04-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.