Class

TriNotification

Description [src]

class Tri.Notification : GObject.Object {
  parent: GtkWidget
}

A notification object to be consumed by TriNotificationBin.

To display a notification with an action button either tri_notification_set_button() or tri_notification_set_button_with_target_value() can be used.

Ancestors

Constructors

tri_notification_new

Creates a new TriNotification which will display title as its text.

Instance methods

tri_notification_set_button

Sets a button to be displayed of self that activates the action in detailed_action when clicked. See g_action_parse_detailed_name() for a description of the format of detailed_action.

tri_notification_set_button_with_target_value

Sets a button to be displayed of self that activates action when clicked. If target is non-NULL, action will be activated with target as its parameter.

Methods inherited from GObject (42)

Signals

Signals inherited from GObject (1)
GObject.Object::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.

Class structure

struct TriNotificationClass {
  GtkWidgetClass parent_class;
  
}
Class members
parent_class
GtkWidgetClass
  No description available.