GObject.InitiallyUnownedClass

Fields

Name

Type

Access

Description

construct_properties

[object]

r

constructed

object

r

the constructed function is called by g_object_new() as the final step of the object creation process. At the point of the call, all construction properties have been set on the object. The purpose of this call is to allow for object initialisation steps that can only be performed after construction properties have been set. constructed implementors should chain up to the constructed call of their parent class to allow it to complete its initialisation.

constructor

object

r

the constructor function is called by g_object_new () to complete the object initialization after all the construction properties are set. The first thing a constructor implementation must do is chain up to the constructor of the parent class. Overriding constructor should be rarely needed, e.g. to handle construct properties, or to implement singletons.

dispatch_properties_changed

object

r

emits property change notification for a bunch of properties. Overriding dispatch_properties_changed should be rarely needed.

dispose

object

r

the dispose function is supposed to drop all references to other objects, but keep the instance otherwise intact, so that client method invocations still work. It may be run multiple times (due to reference loops). Before returning, dispose should chain up to the dispose method of the parent class.

finalize

object

r

instance finalization function, should finish the finalization of the instance begun in dispose and chain up to the finalize method of the parent class.

flags

int

r

g_type_class

GObject.TypeClass

r

the parent class

get_property

object

r

the generic getter for all properties of this type. Should be overridden for every type with properties.

n_construct_properties

int

r

n_pspecs

int

r

notify

object

r

the class closure for the notify signal

pdummy

[object]

r

pspecs

object

r

set_property

object

r

the generic setter for all properties of this type. Should be overridden for every type with properties. If implementations of set_property don’t emit property change notification explicitly, this will be done implicitly by the type system. However, if the notify signal is emitted explicitly, the type system will not emit it a second time.

Methods

None

Details

class GObject.InitiallyUnownedClass

The class structure for the GObject.InitiallyUnowned type.