Lisp HUG Maillist Archive

Unable to render article 1527 because of ":DEFAULT stream decoding error on #<SB-SYS:FD-STREAM for \"socket 192.168.43.216:64885, peer: 116.202.254.214:119\" {1006BD2D43}>: the octet sequence #(252 110 116 104) cannot be decoded." error

Re: Parameters for Input model function

Hello Guenther,

| Hello,
| 
| I'm displaying calendar days in a grid-layout (7 columns) , and so that
| they can be selected I put them in a simple-pane-layout. I specify an
| input model and here comes the problem.
| 
| The function that gets called on a :button-1 :press gets passed several
| parameters: The reference to the simple-pinboard-layout instance and
| the x and y coordinates, but unfortunately not the reference to the
| surrounding interface instance.
| 
| Can I somehow set the parameter list of the input model?

You can always find the interface by calling capi:element-interface.
I would recommend to embed this call into
  (capi:define-command ...
    :translator #'(lambda (pinboard x y)
                        (list (capi:element-interface pinboard) x y)))
--
Sincerely,
Dmitri Ivanov
www.ystok.ru


Re: Parameters for Input model function

Unable to parse email body. Email id is 1529

Updated at: 2020-12-10 08:59 UTC