TWidget API updates
More functions for the API:
- public activate() - Just activate a widget (without tab order or reference parameter).
- public remove() - remove widget from parent
- public remove(boolean close) - remove widget from parent, and call close()
- public close(boolean recursive) - remove all widgets from parents, and call close()
- setParent(TWidget newParent) - change parent from whatever it was to a new parent
Basically, make it easier to re-arrange the widget/parent hierarchy on-the-fly. Could even move widgets between windows, and windows between applications.