Package: gobject
Function g-type-depth
Lambda Listg-type-depth (gtype) ArgumentsReturn ValueAn unsigned integer with the depth of gtype. Details
Returns the length of the ancestry of the passed in GType.
This includes the GType itself, so that e.g. a fundamental type has depth 1. Examples(g-type-depth "gdouble") => 1 (g-type-depth "GtkButton") => 6 | See also |
2020-11-14