Lisp HUG Maillist Archive

capi callback question

I have a simple option pane where I would like the callback to provide 
the option pane instance. No matter what callback-type I choose, I 
don't seem to have a way to get anything other than the interface and 
the item selected (not the option pane itself). If :callback-type is 
:full, I get the selected element twice where I was hoping to get the 
option pane and the selected element. Is this easy and I'm just missing 
it?

Thanks,

John DeSoi, Ph.D.


Re: capi callback question

Hello John,

| I have a simple option pane where I would like the callback to provide
| the option pane instance. No matter what callback-type I choose, I
| don't seem to have a way to get anything other than the interface and
| the item selected (not the option pane itself). If :callback-type is
| :full, I get the selected element twice where I was hoping to get the
| option pane and the selected element. Is this easy and I'm just missing
| it?

I would recommend the :focus, which, in my experience, can only be mentioned
inside a list, e.g.
    :callback-type '(:interface :focus :data)

--
Sincerely,
Dmitri Ivanov
lisp.ystok.ru


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