Class
ValentObject
unstable since: 1.0
Description [src]
class Valent.Object : GObject.Object
{
/* No available fields */
}
A base class for objects.
ValentObject
is a specialized GObject
class, based on GNOME Builder’s
IdeObject
. It provides a simple base class with helpers for working in threads.
Instances have a GRecMutex
and a GCancellable
that is created on demand by
valent_object_ref_cancellable()
is called. When the object is destroyed, the
GCancellable
::cancel signal is emitted.
Available since: 1.0
Instance methods
valent_object_chain_cancellable
Chain a cancellable to the object’s cancellable.
unstable since: 1.0
valent_object_in_destruction
Get whether the object is destroyed or in destruction.
unstable since: 1.0
valent_object_notify_by_pspec
Emit GObject::notify
on object
, on the main thread.
unstable since: 1.0
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 ValentObjectClass {
GObjectClass parent_class;
void (* destroy) (
ValentObject* object
);
}
No description available.
Class members
parent_class: GObjectClass
No description available.
destroy: void (* destroy) ( ValentObject* object )
No description available.