Hello,

Thank you for your answer.


> There's a global FLTK setting in 1.3 that *should* be set OFF in FLTK
> 1.3 (the default), but can be changed. Maybe you changed it? However,

I didn't changed it.
I've checked the options in fluid, all was set to «default».

I tried turning «off» (instead of «default» which should do the same
thing) the «arrow keys move focus» entry.
I've seen no changes doing this. I did it for both «user settings» and
«system setting». Only «user settings» seems to be considered, and modify
configuration file in the .fltk files in my home. I guess «system
settings» do the same thing in /etc (as i'm not root, that didn't work of
course).

Changes are taken into consideration for «system settings», but only for
«visible keyboard focus». Setting «arrow keys move focus» won't forbid
navigation with cursor keys.

Here is a little sample i've used for checking this:
(you can move focus between widgets, event with «arrow keys move focus»
to «off»)


# data file for the Fltk User Interface Designer (fluid)
version 1.0300
header_name {.h}
code_name {.cxx}
Function {make_window()} {open
} {
Fl_Window {} {
label {keyboard focus test} open
xywh {476 612 275 190} type Double visible
} {
Fl_Output output {
xywh {25 15 230 40} color 28
}
Fl_Input input {
xywh {25 65 230 40}
}
Fl_Button copy {
label copy
callback cb_copy
xywh {25 120 105 45}
}
Fl_Button clear {
label clear
callback cb_clear
xywh {150 120 105 45}
}
}
}

Function {cb_copy(Fl_Widget *w, void *d)} {open
} {
code {output->value(input->value());} {}
}

Function {cb_clear(Fl_Widget *w, void *d)} {open
} {
code {input->value(NULL);
output->value(NULL);} {}
}

Function {main()} {open return_type int
} {
code {Fl_Window *win = make_window();
win->show();
Fl::run();
return 1;} {}
}

_______________________________________________
fltk mailing list
fltk@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to