Package: gobject
Function g-type-next-base
Lambda Listg-type-next-base (leaf-type root-type) ArgumentsReturn ValueDetails Given a leaf-type and a root-type which is contained in its anchestry, return the type that root-type is the immediate parent of.
In other words, this function determines the type that is derived directly from root-type which is also a base class of leaf-type. Given a
root type and a leaf type, this function can be used to determine the types
and order in which the leaf type is descended from the root type. Examples(g-type-next-base "GtkButton" "GtkContainer") => #<GTYPE :name "GtkBin" :id 94872974765408> (g-type-next-base "GtkButton" "GtkWidget") => #<GTYPE :name "GtkContainer" :id 94872974765040> | See also |
2020-11-13