Package: gobject

Function gobject:type-interface-peek

Lambda List

gobject:type-interface-peek (class itype)

Arguments

class -- a g:type-class instance
itype -- a g:type-t interface type ID which this class conforms to

Return Value

The g:type-interface instance of itype if implemented by class, nil otherwise.

Details

Returns the interface structure of an interface to which the passed in class conforms.

Examples

(g:type-interface-peek (g:type-class-ref "GtkBox") "GtkOrientable")
=> #.(SB-SYS:INT-SAP #X080C6858)
(g:type-from-interface *)
=> #S(GTYPE :NAME "GtkOrientable" :%ID 134887472)    
 

See also

2024-12-8