Package: gobject
Function gobject:object-new
Lambda Listgobject:object-new (gtype &rest args) ArgumentsDetails Creates a new instance of a g:object subtype and sets its
properties.
Construction parameters which are not explicitly specified are set to their
default values. NoteExamples
(g:object-new "GtkButton" :label "text" :margin 6)
=> #<GTK:BUTTON {D941381}>
This is equivalent to:
(make-instance 'gtk:button :label "text" :margin 6)
=> #<GTK:BUTTON {D947381}> | See also |
2025-06-21