|
|
On 09/30/16 15:09, Albrecht Schlosser wrote:
> On 30.09.2016 22:15 Juan Dent wrote:
>> Hi,
>>
>> FLUID is nice and simple for building a window ... that much i have
>> seen. But, what about a complex program with multiple windows that open
>> conditionally?
>>
>> Is there a demo that is not trivial in this sense?
>>
>> Regards and thanks!!
>
> Fluid, maybe. Yes, fluid is partly generated with fluid.
>
> $ cd fluid/
> $ ls *.fl
> about_panel.fl alignment_panel.fl function_panel.fl print_panel.fl
> template_panel.fl widget_panel.fl
>
> You can open all these files with 'fluid <name>.fl' and see if this can
> help you.
BTW you can use fluid to manage multiple windows in one .fl file.
To do it, you can define a separate class derived from Fl_Window
for each different window, and then just show() or hide() them
as needed in your app.
I have a few commercial apps that use a single .fl file in this way,
and all the non-gui stuff managed in separate modules that are all
linked together in a Makefile.
--
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.
For more options, visit https://groups.google.com/d/optout.
[ Direct Link to Message ] | |
|
| |