(g-object-call-constructor object-type args-names args-values &optional args-types) => object-ptr
Creates the object of type object-type
by calling its constructors with arguments specified by args-names
, args-values
, args-types
.
Example:
(g-object-call-constructor "GtkButton" '("label" "use-underline") '("Hello" t) '("gchararray" "gboolean")) => #.(SB-SYS:INT-SAP #X006D8900) (g-object-call-get-property * "label") => "Hello" (g-object-call-get-property ** "use-underline") => T