Package: gobject

Function g-type-interface-peek

Lambda List

g-type-interface-peek (instance-class iface-type)

Arguments

instance-class -- a g-type-class structure
iface-type -- a g-type interface ID which this instance-class conforms to

Return Value

The g-type-interface structure of iface-type if implemented by instance-class, nil otherwise.

Details

Returns the interface structure of an interface to which the passed in instance-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

2020-11-14