Package: gobject
Function g-type-from-name
Lambda Listg-type-from-name (name) ArgumentsReturn ValueCorresponding g-type ID for name. Details
Lookup the type ID from a given type name.
This is the preferred method to find out by name whether a specific type has
been registered yet. Example(g-type-from-name "gdouble") => #<GTYPE :name "gdouble" :id 60> (g-type-from-name "GtkContainer") => #<GTYPE :name "GtkContainer" :id 94893595931264> (g-type-from-name "GtkCheckButton") => #<GTYPE :name "GtkCheckButton" :id 94893595969952> | See also |
*2021-7-6