|
|
Thanks for that. But unfortunately the wizard isn't what I want. Thanks for the tip about deriving a custom widget from Group; I'll have to read up on the fltk-rs (Rust binding) docs to see how to do that.
On Tuesday, February 7, 2023 at 2:19:13 PM UTC Albrecht Schlosser wrote:
On 2/7/23 14:53 'Matthias Melcher' via
fltk.general wrote:
Yes, Fl_Wizard. Sorry, no link as I am writing this on my phone.
https://www.fltk.org/doc-1.4/classFl__Wizard.html
Fl_Wizard allows "navigation" step by step backward and forward and
to the first and last "page" which may or may not be sufficient for
the OP.
Fl_Wizard is shown in the test/tabs demo program side by side with
the Fl_Tabs widget.
@Mark: if you need to implement your own widget, this shouldn't be
too difficult. The basics are as in Fl_Tabs or Fl_Wizard: derive
from Fl_Group, add several Fl_Group container widgets in the same
place and hide() all but the one you want to show(). Whenever you
change the view, call redraw() on the container widget.
Mark schrieb am Dienstag, 7.
Februar 2023 um 14:47:04 UTC+1:
I need a widget that manages a collection of one or more
other widgets ("pages") just like a Tab widget does: but
with no tabs. The reason for no tabs is because this widget
is tall and narrow with about 8 "pages", so I want to
provide navigation using a combobox (i.e., a Choice widget)
above it rather than having tabs.
Thanks.
--
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/35791f23-a7a4-4013-bb1c-2cc7e2d322ffn%40googlegroups.com.
[ Direct Link to Message ] | |
|
| |