Hi,
It seems like `Fl_Check_Browser`'s callback doesn't get called
when items are selected and deselected. I tried the example
program compiled with the last FLTK commit
(#986a8b33a2b5e503dd36ddbc8283d489ebbd9290) below with both
keyboard and mouse input:
This is correct although AFAICT undocumented. The default when() condition of Fl_Check_Browser is
FL_WHEN_NEVER which obviously does not call the callback. I can't
tell why this is so, but I believe this should be documented. It's
obviously unexpected behavior.
See comment below to make the program do what you (seem to) expect.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.