Class
IdeNotifications
Instance methods
ide_notifications_add_notification
Adds notification
as a child of self
, sorting it by priority
and urgency.
ide_notifications_find_by_id
Finds the first IdeNotification
registered with self
with
IdeNotification:id
of id
.
ide_notifications_get_progress
Gets the combined progress of the notifications contained in this
IdeNotifications
object.
ide_notifications_get_progress_is_imprecise
Checks if all of the notifications with progress are imprecise.
Methods inherited from GListModel (5)
g_list_model_get_item
Get the item at position
.
since: 2.44
g_list_model_get_item_type
Gets the type of the items in list
.
since: 2.44
g_list_model_get_n_items
Gets the number of items in list
.
since: 2.44
g_list_model_get_object
Get the item at position
.
since: 2.44
g_list_model_items_changed
Emits the GListModel::items-changed
signal on list
.
since: 2.44
Properties
Ide.Notifications:has-progress
The “has-progress” property denotes if any of the notifications have progress supported.
Ide.Notifications:progress
The “progress” property is the combination of all of the notifications currently monitored. It is updated when child notifications progress changes.
Ide.Notifications:progress-is-imprecise
The “progress-is-imprecise” property indicates that all progress-bearing notifications are imprecise.
Properties inherited from IdeObject (2)
Ide.Object:cancellable
The “cancellable” property is a GCancellable
that can be used by operations
that will be cancelled when the IdeObject::destroy
signal is emitted on self
.
Ide.Object:parent
The parent IdeObject
, if any.
Signals
Signals inherited from IdeObject (1)
IdeObject::destroy
The “destroy” signal is emitted when the object should destroy itself and cleanup any state that is no longer necessary. This happens when the object has been removed from the because it was requested to be destroyed, or because a parent object is being destroyed.
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.
Signals inherited from GListModel (1)
GListModel::items-changed
This signal is emitted whenever items were added to or removed
from list
. At position
, removed
items were removed and added
items were added in their place.
since: 2.44