4 ms·
One thing I'm not clear from your description is... The widgets were tightly-coupled with their ancestors? (In order to create them)
by wavefunction 13y ago
One thing I'm not clear from your description is... The widgets were tightly-coupled with their ancestors? (In order to create them)
- ori_b 13y agoIn general, no. You would typically take your widget, create it, and put it into a widget-agnostic container or layout manager. The widget wouldn't know about it's parent or children. The widgets would communicate by sending signals which bubbled up or down the container heirarchy, triggering repaints, resizes, and so on as needed. Of course, this varied by toolkit.