FLTK logo

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

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   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) "wea... May 05, 2021  
 

On Wednesday, May 5, 2021 at 11:08:14 AM UTC+2 quantumno...@gmail.com 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) 
according to the documentation the parameters should be in the following order :

int Fl_Text_Editor::kf_ignore(int c,Fl_Text_Editor * e )

You provided them in reverse order in your example.
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.
-dave

--
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 fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/595f3bf9-13f5-4e80-87ab-ce3b629f3efbn%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

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