Package: gobject

Function gobject:type-is-object

Lambda List

gobject:type-is-object (gtype)

Arguments

gtype -- a g:type-t type ID to check

Return Value

False or true, indicating whether the gtype argument is a "GObject" type.

Details

Checks if the passed in type ID is a "GObject" type or derived from it.

Examples

(g:type-is-object "GtkLabel") => T
(g:type-is-object "GtkActionable") => NIL
(g:type-is-object "gboolean") => NIL
(g:type-is-object "unknown") => NIL
(g:type-is-object nil) => NIL    
 

See also

2024-12-14