Class
PhoshNotification
Description [src]
class Phosh.Notification : GObject.Object {
parent_instance: GObject
}
A notification
A PhoshNotification
with summary, body, icon, actions, etc.
Instance methods
phosh_notification_set_timestamp
Sets the timestamp of a notification. If NULL
is passed it’s set
to the current date and time.
Properties
Phosh.Notification:app-info
When non-NULL
this overrides the values of PhoshNotification:app-name
and PhoshNotification:app-icon
with those from the GAppInfo
.
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.
Class structure
struct PhoshNotificationClass {
GObjectClass parent_class;
void (* do_action) (
PhoshNotification* self,
guint id,
const char* action
);
}
No description available.
Class members
parent_class: GObjectClass
The object class structure needs to be the first element in the widget class structure in order for the class mechanism to work correctly. This allows a PhoshNotificationClass pointer to be cast to a GObjectClass pointer.
do_action: void (* do_action) ( PhoshNotification* self, guint id, const char* action )
- No description available.