Package: gobject

Function gobject:type-is-derived

Lambda List

gobject:type-is-derived (gtype)

Arguments

gtype -- a g:type-t 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

2024-12-8