First page Back Continue Last page Overview Graphics
General GUI Design
Applications have one 'Top Level' window.
- A managed window (ie, has window system controls)
- Acts as the root for other managed windows
- Contains one or more 'container' widgets
Containers manage the layout
of control widgets.
Control widgets handle user events.
- Resize events automatically propagate through
widget hierarchy
- Explicit events (e.g., button pressed)
are handled if widget is 'listening'
- Associating an event handler function
with a widget causes it to 'listen'
Notes: