FLTK logo

Re: [fltk.general] test/tabs

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Library      Forums      Links      Apps     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: test/tabs "holm.h... Oct 30, 2020  
 
Hi Ian,
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...

Worth a shot anyway...

--
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/21261788-7807-487d-a844-47932d3d52b8n%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-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.