Package: gobject

Function g-type-is-derived

Lambda List

g-type-is-derived (gtype)

Arguments

gtype -- a g-type ID

Return Value

True if gtype is a dervied type.

Details

Checks if gtype is derived or in object oriented terminology inherited from another type. This holds true for all non-fundamental types.

Examples

(g-type-is-derived "gboolean") => NIL
(g-type-is-derived "GObject") => NIL
(g-type-is-derived "GtkWidget") => T    
 

See also

2020-11-13