Expand description
Module that contains the basic infrastructure for subclassing GObject
.
Structs§
- Initializing
Object - An object that is currently being initialized.
- Initializing
Type - A newly registered
glib::Type
that is currently still being initialized. - Type
Data - Type-specific data that is filled in during type creation.
Traits§
- Class
Struct - Trait implemented by structs that implement a
GObject
C class struct. - From
Object - Helper trait for macros to access a subclass or its wrapper.
- Instance
Struct - Trait implemented by structs that implement a
GObject
C instance struct. - Instance
Struct Ext - Trait implemented by any type implementing
InstanceStruct
to return the implementation, private Rust struct. - Interface
List - Trait for a type list of interfaces.
- Interface
Struct - Trait implemented by structs that implement a
GTypeInterface
C class struct. - IsImplementable
- Trait for implementable interfaces.
- IsSubclassable
- Trait for subclassable class structs.
- IsSubclassable
Ext - Object
Subclass - The central trait for subclassing a
GObject
type. - Object
Subclass Ext - Extension methods for all
ObjectSubclass
impls. - Object
Subclass IsExt - Trait implemented by any type implementing
ObjectSubclassIs
to return the implementation, private Rust struct. - Object
Subclass Type - Type methods required for an
ObjectSubclass
implementation.
Functions§
- register_
dynamic_ type - Registers a
glib::Type
ID forT
as a dynamic type. - register_
type - Register a
glib::Type
ID forT
.