Not quite, please have a look at test/tabs.cxx for source code. Here, hide() is called before end();
Best regards
fredag 30. oktober 2020 kl. 14:16:18 UTC+1 skrev Ian MacArthur:
On Fri, 30 Oct 2020 at 12:31, holm.haavard wrote:
>
>
> Hello,
>
> I need to hide() a group which is under a group.
>
> That functionality should be in the test/tabs program:
> { Fl_Group* o = new Fl_Group(10, 60, 315, 235, "@fileprint &print");
> o->tooltip("tab5 verifies if visibility requests are handled correctly");
> o->hide();
>
> For me the tab do however show.
>
> any suggestions ?
>
> Best regards
> Håvard
Without seeing more of the code, my best guess would be that you need
to trigger a redraw of the parent widget to get the hide to actually
affect the visible image...
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'.