>> Was it decided that the default would be arrow keys don't
>> change focus now? If so, some example programs would need
>> changes. (Like examples/table-spreadsheet)
>
> Yes, we decided to change it in FLTK 1.3, as discussed a while ago.
>
> The new default in FLTK 1.3 is not to change the focus, because we
> decided that this is the /normal/ behavior, in contrast to FLTK 1.1.
> That's why we needed the option for backward-compatibility.
OK, then some of the examples need tweaking.
test/navigation raison d'etre is to show predictable
up/dn/lt/rt arrow key nav, so it probably either needs
a toggle button added to allow toggling Fl::option(OPTION_ARROW_FOCUS)
to still be useful.
Some other examples will need to affect this option too.
For instance, examples/table-spreadsheet uses a single Fl_Input
to edit cells, and how it responds affects arrow navigation
of the spreadsheet. That program will probably need the
option set to 1 at the top of main() to fix it.
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev