Package: gobject

Function g-type-check-instance-type

Lambda List

g-type-check-instance-type (instance gtype)

Arguments

instance -- a g-type-instance structure
gtype -- the g-type ID to be checked

Return Value

True on success.

Details

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

Examples

(g-type-check-instance-type (make-instance 'gtk-button) "GObject") => T
(g-type-check-instance-type (make-instance 'gtk-button) "GtkWindow") => NIL    
 

See also

2020-11-13