Expand description
Module that contains the basic infrastructure for subclassing GObject
.
Macrosยง
- interface_
list_ ๐trait
Structsยง
- An object that is currently being initialized.
- A newly registered
glib::Type
that is currently still being initialized. - Private
Struct ๐Struct used for the instance private data of the GObject. - Type-specific data that is filled in during type creation.
Constantsยง
Traitsยง
- Trait implemented by structs that implement a
GObject
C class struct. - Helper trait for macros to access a subclass or its wrapper.
- Trait implemented by structs that implement a
GObject
C instance struct. - Trait implemented by any type implementing
InstanceStruct
to return the implementation, private Rust struct. - Trait for a type list of interfaces.
- Trait for implementable interfaces.
- Trait for subclassable class structs.
- The central trait for subclassing a
GObject
type. - Extension methods for all
ObjectSubclass
impls. - Trait implemented by any type implementing
ObjectSubclassIs
to return the implementation, private Rust struct. - Type methods required for an
ObjectSubclass
implementation.
Functionsยง
- class_
init ๐ โ - finalize ๐ โ
- instance_
init ๐ โ - interface_
init ๐ โ - offset_
ptr_ ๐by_ bytes Offsetptr
byoffset
bytes and cast the result to*const U
. - Offset
ptr
byoffset
bytes and cast the result to*mut U
. - Registers a
glib::Type
ID forT
as a dynamic type. - Register a
glib::Type
ID forT
. - signal_
chain_ ๐ โfrom_ overridden - signal_
override_ ๐ โclass_ handler