Hi,

I have few questions about the parent() method.

How can a widget reach it's top level parent (generaly the main window) ?
I know that way to proceed:

while(pWidget->parent())  pWidget = pWidget->parent();

Is there an other one ?


What is exactly the nature of the pointer returned by parent() ?
Is that the this pointer of the parent widget ?


Thanks

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

Reply via email to