Package: glib

Function glib:gtype-name

Lambda List

glib:gtype-name (instance)

Arguments

instance -- a g:gtype instance

Return Value

The string with the name of the GType type.

Details

Returns the name of the GType type. The instance argument must be a valid g:gtype instance.

Examples

(g:gtype-name (g:gtype "gboolean")) => "gboolean"
(g:gtype-name (g:gtype "GObject")) => "GObject"
(g:gtype-name (g:gtype "GSimpleAction")) => "GSimpleAction"    
 

See also

2024-12-8