Package: gobject
Function gobject:type-parent
Lambda Listgobject:type-parent (gtype) ArgumentsReturn ValueThe parent g:type-t type ID of gtype. Details Returns the direct parent type of the passed in gtype. If the passed in gtype has no parent, for example, is a fundamental type, nil is returned. Examples(g:type-parent "GtkWindow") => #<GTYPE :name "GtkWidget" :id 94209734120944> (g:type-parent "GApplication") => #<GTYPE :name "GObject" :id 80> (g:type-parent "GtkActionable") => #<GTYPE :name "GInterface" :id 8> (g:type-parent "GObject") => NIL (g:type-parent "gdouble") => NIL | See also |
2024-12-8