Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | phosh_notification_frame_new () |
void | phosh_notification_frame_bind_notification () |
void | phosh_notification_frame_bind_model () |
const char * const * | phosh_notification_frame_get_action_filter_keys () |
GStrv | action-filter-keys | Read / Write / Construct Only |
gboolean | show-body | Read / Write / Construct Only |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── GtkEventBox ╰── PhoshNotificationFrame
GtkWidget * phosh_notification_frame_new (gboolean show_body
,const char * const *action_filters
);
void phosh_notification_frame_bind_notification (PhoshNotificationFrame *self
,PhoshNotification *notification
);
Helper function for frames that only need to contain a single notification
Wraps phosh_notification_frame_bind_model()
by placing notification
in
a PhoshNotificationSource
void phosh_notification_frame_bind_model (PhoshNotificationFrame *self
,GListModel *model
);
const char * const *
phosh_notification_frame_get_action_filter_keys
(PhoshNotificationFrame *self
);
#define PHOSH_TYPE_NOTIFICATION_FRAME (phosh_notification_frame_get_type ())
“action-filter-keys”
property“action-filter-keys” GStrv
The keys will be used to look up filter values in the applications desktop file. Actions starting with those values will be used on the lock screen.
Owner: PhoshNotificationFrame
Flags: Read / Write / Construct Only
“show-body”
property“show-body” gboolean
Whether notificaions in this frame should show the notification body
Owner: PhoshNotificationFrame
Flags: Read / Write / Construct Only
Default value: TRUE
“empty”
signalvoid user_function (PhoshNotificationFrame *phoshnotificationframe, gpointer user_data)
Flags: Run Last