I would like to know a way to find out the names of keyword arguments of a call like:
(make <GtkApplication> ...)
Not for that one specifically, but a general method to find out about the arguments. For example I tried to create a GMenuItem instance:
(gi:make <GMenuItem>
;; #:text "test"
;; #:title "test"
;; #:label "Exit"
#|#:label "Exit" #:translatable "yes" #:action "app.exit"|#)
But none of those works. I always get the error about ERROR: In procedure %make-gobject: In procedure %make-gobject: unknown object parameter. Even though https://docs.gtk.org/gio/ctor.MenuItem.new.html would seem to indicate, that the keyword argument should be #:label.
What is a good general method for finding out what I need to and what I can specify as keyword arguments?
I would like to know a way to find out the names of keyword arguments of a call like:
Not for that one specifically, but a general method to find out about the arguments. For example I tried to create a
GMenuIteminstance:(gi:make <GMenuItem> ;; #:text "test" ;; #:title "test" ;; #:label "Exit" #|#:label "Exit" #:translatable "yes" #:action "app.exit"|#)But none of those works. I always get the error about
ERROR: In procedure %make-gobject: In procedure %make-gobject: unknown object parameter. Even though https://docs.gtk.org/gio/ctor.MenuItem.new.html would seem to indicate, that the keyword argument should be#:label.What is a good general method for finding out what I need to and what I can specify as keyword arguments?