notes = new Fl_Text_Editor(x, y,
w, h);
[..]
notes->wrap_mode(Fl_Text_Display::WRAP_AT_BOUNDS, 0);
Fl_Text_Editor::kf_ignore(notes, FL_Tab); // compiles but
does nothing as far as i can see. I am using 1.3.5
ABI 10300)
kf_ignore()
is a nop destination for keys to be ignored, it does not do
anything or create mappings.
Its use is to map keys to be ignored to it, so that it
acts as a nop (no operation), such as in the default key
mapping table:
// These are the default key bindings every
widget should start with
[..]
{ FL_Escape, FL_TEXT_EDITOR_ANY_STATE,
Fl_Text_Editor::kf_ignore }, // <<-- NOTE ITS USE
HERE TO IGNORE Fl_Escape
{ FL_Enter, FL_TEXT_EDITOR_ANY_STATE,
Fl_Text_Editor::kf_enter },
{ FL_KP_Enter, FL_TEXT_EDITOR_ANY_STATE,
Fl_Text_Editor::kf_enter },
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'.