Description
This package provides an interface to the type system in
Glib. These types
provide an object-oriented framework (through inheritance and interfaces),
as well as reference-counting, signals and properties on these types.
Most of the time, you DO NOT need to use this package, only when you are
working with the introspection capabilities of glib.
See the other glib packages for more subprograms to manipulate these types.
In particular, Glib.Properties describes the properties system, that
provide the base for dynamic introspection. See also Glib itself, which
contains several general subprograms, and Glib.Object that provides the
root object for any type hierarchy based on glib.
Subprograms
-
-
procedure Class_Unref (T : GType);
-
function Depth (T : GType) return Guint;
-
function Is_A (T : GType; Is_A_Type : GType) return Boolean;
Interfaces
Interfaces are similar, in concept, to those found in Ada 2005 or in
Java. They define a set of subprograms that any type implementing the
interface must also define. They are different from standard inheritance
since no implementation of these subprograms can be provided in the
interface itself.
-
-
function Interfaces (T : GType) return GType_Array;
-
function Is_Interface (T : GType) return Boolean;
-