From: Tom P. <tpi...@ad...> - 2006-01-30 21:58:23
|
Hi All, While digging into my Qt implementation of the widgets library, I've noticed that a widget's parent appears to be set after the underlying platform widget itself is created. On MacOS this is not a problem because a control can be initially created without a parent. However, the existing Windows implementation uses some kind of 'invisible parent' member as an initial parent when a control is created. In Qt, like on Windows, a widget needs a parent at creation time, so I'm wondering if I will need a similar 'invisible parent' mechanism for my Qt implementation. Does Eve somehow rely upon setting the parent after a widget is initially created? Is the sole purpose of the display_t object to provide a way to set the widget's parent hierarchy? Will the parent hierarchy ever change for a given Eve layout after the initial layout is created? Thanks, Tom |