Package: glib
Function glib:symbol-for-gtype
Lambda Listglib:symbol-for-gtype (name-or-gtype) ArgumentsReturn ValueThe Lisp symbol representing the GType type. Details Returns the Lisp symbol for the given name-or-gtype argument. The Lisp symbol is used with the make-instance method to create an instance for a GType type from the Lisp side. Examples
(g:symbol-for-gtype "GApplication")
=> GIO:APPLICATION
=> T
(g:symbol-for-gtype (g:gtype "GSimpleAction"))
=> GIO:SiMPLE-ACTION
=> T
(make-instance *)
=> #<GIO:SIMPLE-ACTION {1007481A53}> | See also |
2024-12-8