Next: Enums and Flags, Previous: Typelib Documentation, Up: Reference Guide [Contents][Index]
The (gi types)
module provides these variables and procedures.
These variables hold the GType integer values for the fundamental types.
These variables hold the GType integer values of the enum, flags, struct, and object base classes respectively.
Given object, this procedure returns its GType as an integer. It
returns #f
if the object does not have a type registered in The
GLib Dynamic Type System.
Given gtype, a GType integer ID, this procedure will return the
associated GOOPS class that holds instances of that type, of #f
if there is no GOOPS class for that gtype.
Given gtype of type <integer>
, this procedure returns
a string with GObject’s internal name for this type. This may differ
slightly from the name that Guile-GI gives to the type.
These procedures return the parent type and the child types of a specified gtype as GType integers.
Returns #t
of object is an instance of a type.
Next: Enums and Flags, Previous: Typelib Documentation, Up: Reference Guide [Contents][Index]