Package: gobject
Function g-type-is-a
Lambda Listg-type-is-a (gtype is-a-type) ArgumentsReturn ValueTrue if the gtype argument is a is-a-type. Details If the is-a-type argument is a derivable type, check whether the gtype argument is a descendant of is-a-type. If is-a-type is an interface, check whether gtype conforms to it. Examples(g-type-is-a "gboolean" +g-type-boolean+) => T (g-type-is-a "GtkTextIter" +g-type-boxed+) => T (g-type-is-a "GtkWindowType" +g-type-enum+) => T (g-type-is-a "GtkApplicationInhibitFlags" +g-type-flags+) => T (g-type-is-a "GtkActionable" +g-type-interface+) => T (g-type-is-a "unknown" +g-type-invalid+) => T (g-type-is-a "GtkApplication" +g-type-object+) => T (g-type-is-a "GParamBoolean" +g-type-param+) => T (g-type-is-a "GVariant" +g-type-variant+) => T | See also |
*2021-11-18