Next: , Previous: g-type-parent, Up: Type hierarchy and type relations


4.3.3 g-type-fundamental

— Function: g-type-fundamental
     (g-type-fundamental type) => fundamental-type
type
A GType designator
fundamental-type
A GType designator for one of the fundamental types

Returns the fundamental type that is the ancestor of type.

Example:

     (g-type-fundamental "GtkButton") => "GObject"
     
     (g-type-fundamental "GtkWindowType") => "GEnum"
     
     (g-type-fundamental "GdkEvent") => "GBoxed"