Package: gobject

Function g-type-check-class-type

Lambda List

g-type-check-class-type (class gtype)

Arguments

class -- a g-type-class structure
gtype -- the g-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

2020-11-13