Package: gobject

Function g-type-from-interface

Lambda List

g-type-from-interface (iface)

Arguments

iface -- a valid g-type-interface structure

Return Value

The g-type ID of interface.

Details

Get the type identifier from a given interface structure. This function should only be used in type implementations.

Examples

(g-type-from-interface (g-type-default-interface-ref "GtkOrientable"))
=> #<GTYPE :name "GtkOrientable" :id 134920864>    
 

See also

2020-11-14