Re: [fltk.general] trying to emulate tab_nav(1)

GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
Previous Message ]New Message | Reply ]Next Message ]

Re: trying to emulate tab_nav(1) Dave Jordan 05:18 May 05 top right image

On Wed, May 5, 2021 at 7:27 AM imm <> wrote:
On Wed, 5 May 2021 at 10:08, Dave Jordan wrote:
> notes = new Fl_Text_Editor(x, y, w, h);
> notes->box(...);
> notes->textsize(...);
> notes->color(...);
> notes->textcolor(...);
> notes->cursor_color(...);
> 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)
> notes->tab_nav(1);                                       // compiler error no such member (ABI version too old I think).
> I have also tried subclassng and adding handler, to no avail.
> thanks for any help.


You might need to describe what it is you actually want to do here (in
terms simple enough for me to understand...)
The crux is, as you are no doubt aware, that tab is a valid character
in a text editor, and so tab-navigation in an editor widget can not
work like tab-navigation between other widgets.
But to help with this, we do need to know what you actually want to achieve.

I am trying to make the tab key navigate out of the Fl_Text_Editor instead of inserting a tab into it. 
and i just noticed that tab_nav is not applicable to text editor. but kf_ignore is, but i couldnt get that to work either.

You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Direct Link to Message ]
bottom left image   bottom right image
Previous Message ]New Message | Reply ]Next Message ]

Comments are owned by the poster. All other content is copyright 1998-2021 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to ''.