[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] How to replace compontents added to a layout? (Needed for free gui-builder)
|
Hi there!
I want to make a simple gui-designer for SWT and I have a great idea how
it would be possible, to make the gui-builder very easy and functional.
The only problem I have is that I dont know how to remove existing widgets
and put new one into e.g. a grid-layout.
I dont really understand how the layout knows e.g. in which cell the
component should be placed.
Is this done by the order the widgets are added to the parent?
Could you please explain me, how e.g. it is possible to remove e.g. a
Canvas which is in row2 and colum2 and place a button at this position.
Is this possible at all using swt?
I hope you can help me, I didnt find any comments in the tutorial.
lg Clemens