FLTK logo

Re: [fltk.general] Re: Fl_Tabs

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: Re: Fl_Tabs Greg Ercolano Sep 02, 2021  
 

On 9/2/21 3:53 AM, rs wrote:

Right, here is a minimal example that exhibits the issue:

    Ah, OK, so here I take it the issue is even though the "A" tab is selected,
    clicking "C" does nothing.

    That seems like a bug and I can replicate here on Linux even with 1.4.x.

    If you use:

        tabs->when(FL_WHEN_CHANGED | FL_WHEN_NOT_CHANGED);

    ..it seems to work OK in that the callback is triggered /always/,
    but yeah, seems like the default behavior (do the callback on change)
    has an n-1 problem.

    Probably open an issue on github for this.

--
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/72af58d1-3a06-5756-54ff-253db0d5112c%40seriss.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'.