Lisp HUG Maillist Archive

list-panel & friends, select & retract callback


Hi all,

I'm using CAPI to make a little utility to help manage derotating and
cropping sequences of scans, and am having good success.

I did have some trouble getting the behavior I wanted out of the select
and retract callbacks in a multi-list-panel, essentially they only seem
to react to user interface action by the user.  Particularly,
react-callback was <only> called when the user specfically deselects a
selected item, clicking on another item did not issue a deselect.
Similarly, programatically selecting another item didn't call either
select or retract.

Neither is a big problem to work around, but coming from a Windows GUI
perspective, the select & deselect semantics seems strange.  Is there
any sort of CAPI "Interface Philosophy" guidance around- something to
help establish the right perspective so as to not have to fight with
CAPI to get particular behavior?

Thanks,

Greg


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