FLTK logo

Re: [fltk.general] Order of variables in FLUID

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: Order of variables in FLUID "anmol.... Oct 06, 2020  
 
Actually I face a problem from the callbacks. I have Tabs  and then Group 1 and Group 2, 3, 4.
Now inside Tabs I detect a click to Group 4 where there is Fl_Browser. Once I detect that
Group 4 is selected, I copy the selections to a queue which is implemented inside Fl_Browser.

Since Tabs comes before Group 4 in the heirarchy (in order Group 1,2,3,4)
I am unable to access Group 1 ->  Fl_Output in the Tabs callback.
 
So the " dependence between the
"tab group widgets" is done AFTER they're created"
but I still get the undeclared identifier error.

Am I missing something here ?
On Tuesday, October 6, 2020 at 9:57:48 PM UTC+5:30 Greg Ercolano wrote:

Since each tab is usually a group, let's call these 'tab group widgets',
where each contains the layout for a particular tab.

Normally I'd say change the design so that any dependence between the
"tab group widgets" is done AFTER they're created. This way they can
be instanced in whatever order makes sense to create the tabs (from left
to right), and then /after/ they're all created, call a method in each
tab group widget that lets interact.

--
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/7f9a8159-a86c-462d-8133-ef1f20623d9en%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'.