[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re-parenting an SWT control
|
This is probably a simple question: I'd like to know if it is possible to
re-parent a Control in SWT?
My use case is the following:
I create a Control, and later need to dispose of its parent and recreate its
parent. Currently I have to recreate the Control as well, but what I'd
rather do, is just re-attach the old Control to the new parent (thus saving
some of its state).
My gut feeling is that this is impossible, but before I look at alternate
methods of achieving my goal, I thought I'd ask.
G