Expand description
Module that contains the basic infrastructure for subclassing GObject.
Macrosยง
Structsยง
- Initializing
Object - An object that is currently being initialized.
- Initializing
Type - A newly registered
glib::Typethat is currently still being initialized. - Private
Struct ๐ - Struct used for the instance private data of the GObject.
- Type
Data - Type-specific data that is filled in during type creation.
Traitsยง
- Class
Struct - Trait implemented by structs that implement a
GObjectC class struct. - From
Object - Helper trait for macros to access a subclass or its wrapper.
- Instance
Struct - Trait implemented by structs that implement a
GObjectC instance struct. - Instance
Struct Ext - Trait implemented by any type implementing
InstanceStructto return the implementation, private Rust struct. - Interface
List - Trait for a type list of interfaces.
- Interface
Struct - Trait implemented by structs that implement a
GTypeInterfaceC class struct. - IsImplementable
- Trait for implementable interfaces.
- IsSubclassable
- Trait for subclassable class structs.
- IsSubclassable
Ext - Object
Subclass - The central trait for subclassing a
GObjecttype. - Object
Subclass Ext - Extension methods for all
ObjectSubclassimpls. - Object
Subclass IsExt - Trait implemented by any type implementing
ObjectSubclassIsto return the implementation, private Rust struct. - Object
Subclass Type - Type methods required for an
ObjectSubclassimplementation.
Functionsยง
- class_
init ๐ โ - finalize ๐ โ
- instance_
init ๐ โ - interface_
init ๐ โ - offset_
ptr_ ๐by_ bytes - Offset
ptrbyoffsetbytes and cast the result to*const U. - offset_
ptr_ ๐by_ bytes_ mut - Offset
ptrbyoffsetbytes and cast the result to*mut U. - register_
dynamic_ type - Registers a
glib::TypeID forTas a dynamic type. - register_
type - Register a
glib::TypeID forT. - signal_
chain_ ๐ โfrom_ overridden - signal_
override_ ๐ โclass_ handler