Package: gobject

Function g-type-default-interface-ref

Lambda List

g-type-default-interface-ref (gtype)

Arguments

gtype -- a g-type interface type

Return Value

The default vtable for the interface of type gtype.

Details

Increments the reference count for the interface type, and returns the default interface vtable for the type. Call the function g-type-default-interface-unref when you are done using the interface.

If the interface type is not currently in use, then the default vtable for the type will be created and initalized by calling the base interface init and default vtable init functions for the type. Calling this function is useful when you want to make sure that signals and properties for an interface have been installed.

Examples

(g-type-default-interface-ref "GtkOrientable")
=> #.(SB-SYS:INT-SAP #X55D446D53DE0)
(g-type-from-interface *)
=> #<GTYPE :name "GtkOrientable" :id 94370208235568>    
 

See also

2020-11-14