Package: gobject

Function gobject:type-check-class-type

Lambda List

gobject:type-check-class-type (class gtype)

Arguments

class -- a g:type-class instance
gtype -- a g:type-t type ID to be checked

Return Value

True on success.

Details

Checks if class is a class structure of the type identified by gtype or derived. This function should only be used in type implementations.

Examples

(g:type-check-class-type (g:type-class-ref "GtkButton") "GObject") => T
(g:type-check-class-type (g:type-class-ref "GtkButton") "GtkWindow") => NIL    
 

See also

2024-12-8