pushparaj muthu wrote:
> Hi
>
> I'm developing gui application by using FLTK fluid .
>
> Inside button callback handler I want to add some more widget . How to do
> it by using fluid
Probably easiest thing is to create a function that creates
the widgets, then call that function in your button callback.
If you want to write the code that creates the widgets,
use "New->Function" to name the function, followed by "New->Code"
to get a code window to type in the widget code.
If you want to layout the new widgets with fluid (instead of
creating the widgets with code), then use "New->Function"
to name the function, then drop the new widgets into the function.
Or, create the widgets at start time as you normally would,
and just hide()/show() them via the callback.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk