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
Unable to parse email body. Email id is 1529