Top | ![]() |
![]() |
![]() |
![]() |
IdeNotifications *
ide_notifications_new (void
);
Create a new IdeNotifications.
Usually, creating this is not necessary, as the IdeContext root IdeObject will create it automatically.
Since: 3.32
void ide_notifications_add_notification (IdeNotifications *self
,IdeNotification *notification
);
Adds notification
as a child of self
, sorting it by priority
and urgency.
Since: 3.32
gdouble
ide_notifications_get_progress (IdeNotifications *self
);
Gets the combined progress of the notifications contained in this IdeNotifications object.
Since: 3.32
gboolean
ide_notifications_get_has_progress (IdeNotifications *self
);
Gets if any of the notification support progress updates.
Since: 3.32
gboolean
ide_notifications_get_progress_is_imprecise
(IdeNotifications *self
);
Checks if all of the notifications with progress are imprecise.
Since: 3.32
IdeNotification * ide_notifications_find_by_id (IdeNotifications *self
,const gchar *id
);
Finds the first IdeNotification registered with self
with
“id” of id
.
Since: 3.32
“has-progress”
property“has-progress” gboolean
The "has-progress" property denotes if any of the notifications have progress supported.
Owner: IdeNotifications
Flags: Read
Default value: FALSE
Since: 3.32
“progress”
property“progress” gdouble
The "progress" property is the combination of all of the notifications currently monitored. It is updated when child notifications progress changes.
Owner: IdeNotifications
Flags: Read
Allowed values: [0,1]
Default value: 0
Since: 3.32
“progress-is-imprecise”
property“progress-is-imprecise” gboolean
The "progress-is-imprecise" property indicates that all progress-bearing notifications are imprecise.
Owner: IdeNotifications
Flags: Read
Default value: FALSE
Since: 3.32