Class
NotifyNotification
since: 0.7
Description [src]
class Notify.Notification : GObject.Object
{
/* No available fields */
}
A passive pop-up notification.
NotifyNotification
represents a passive pop-up notification. It can
contain summary text, body text, and an icon, as well as hints specifying
how the notification should be presented. The notification is rendered
by a notification daemon, and may present the notification in any number
of ways. As such, there is a clear separation of content and presentation,
and this API enforces that.
Available since: 0.7
Instance methods
notify_notification_close
Synchronously tells the notification server to hide the notification on the screen.
since: 0.7
notify_notification_get_activation_token
Gets the activation token of the notification.
since: 0.7.10
notify_notification_get_closed_reason
Returns the closed reason code for the notification.
since: 0.7
notify_notification_set_app_icon
Sets the application icon for the notification.
unstable since: 0.8.4
notify_notification_set_hint_byte_array
Sets a hint with a byte array value.
deprecated: 0.6. since: 0.7
notify_notification_set_hint_int32
Sets a hint with a 32-bit integer value.
deprecated: 0.6. since: 0.7
notify_notification_set_hint_uint32
Sets a hint with an unsigned 32-bit integer value.
deprecated: 0.6. since: 0.7
notify_notification_set_icon_from_pixbuf
Sets the icon in the notification from a GdkPixbuf
.
deprecated: 0.5. since: 0.7
notify_notification_set_image_from_pixbuf
Sets the image in the notification from a GdkPixbuf
.
since: 0.5
notify_notification_show
Tells the notification server to display the notification on the screen.
since: 0.7
Properties
Notify.Notification:app-icon
The icon of the application for the notification.
unstable since: 0.8.4
Notify.Notification:icon-name
The icon-name of the icon to be displayed on the notification.
since: 0.7
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
unstable since: 2.0
Class structure
struct NotifyNotificationClass {
GObjectClass parent_class;
void (* closed) (
NotifyNotification* notification
);
}
Class members
parent_class: GObjectClass
- No description available.
closed: void (* closed) ( NotifyNotification* notification )
- No description available.