Package: gobject

Function gobject:type-from-instance

Lambda List

gobject:type-from-instance (instance)

Arguments

instance -- a valid g:type-instance instance

Return Value

The g:type-t type ID of instance.

Details

Gets the type identifier from a given instance.

Notes

Signals an error if the instance argument is not a valid g:type-instance instance.

Examles

(g:type-from-instance (make-instance 'g:simple-action))
=> #<GTYPE :name "GSimpleAction" :id 97556076810288>    
 

See also

2025-1-4