Package: gobject
Function gobject:type-fundamental
Lambda Listgobject:type-fundamental (gtype) ArgumentsReturn ValueThe fundamental g:type-t type ID 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 "GSimpleAction") => #<GTYPE :name "GObject" :id 80> (g:type-fundamental "GAction") => #<GTYPE :name "GInterface" :id 8> (g:type-fundamental "GBytes") => #<GTYPE :name "GBoxed" :id 72> | See also |
2024-12-8