> I have more than i window in my GUI, then how does fltk associate the
> various widgets
> with a particular window, how can i explicitely associate a particular
> widget say a box
> to a particular window, using the window object.
>
> --
> Himadri Sarkar

window->add(box);

makes box a child of window, which can be accessed as window->child(n), where 
"n = window->children() - 1" immediately after adding the box.

and the window can be accessed using box->window()

Don.



_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to