Package: gobject

Function g-type-from-class

Lambda List

g-type-from-class (class)

Arguments

class -- a valid g-type-class structure

Return Value

The g-type ID of class.

Details

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

Examples

(g-type-from-class (g-type-class-ref "GtkWidget"))
=> #<GTYPE :name "GtkWidget" :id 134921656>    
 

See also

2020-11-13