GObject.type_query
function type_query(type: GObject.Type): GObject.TypeQuery {
// Gjs wrapper for g_type_query()
}
Queries the type system for information about a specific type. This function will fill in a user-provided structure to hold type-specific information. If an invalid GLib.Type is passed in, the type member of the GObject.TypeQuery is 0. All members filled into the GObject.TypeQuery structure should be considered constant and have to be left untouched.
- type
GLib.Type of a static, classed type
- Returns
a user provided structure that is filled in with constant values upon success