Package: gobject

Function g-type-fundamental

Lambda List

g-type-fundamental (gtype)

Arguments

gtype -- a valid g-type ID

Return Value

The fundamental g-type type of the gtype argument.

Details

The fundamental type which is the ancestor of the gtype argument. Fundamental types are types that serve as ultimate bases for the derived types, thus they are the roots of distinct inheritance hierarchies.

Examples

(g-type-fundamental "GtkButton") => #<GTYPE :name "GObject" :id 80>
(g-type-fundamental "GtkOrientable") => #<GTYPE :name "GInterface" :id 8>
(g-type-fundamental "GtkWindowType") => #<GTYPE :name "GEnum" :id 48>    
 

See also

2021-9-9