Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Redraw?
Redraw? [message #465122] Tue, 06 December 2005 12:37 Go to next message
Stephen is currently offline StephenFriend
Messages: 47
Registered: July 2009
Member
I have one composite and i'll be adding new tab folder on the fly (e.g
when an action is performed). But for now, it's need to do something with
the parent, like resize or something. What will be solution NOT to do
like that? Like, as soon as a new tab folder is added, it will be appeared
in the composite. redraw() or something needed?
Re: Redraw? [message #465127 is a reply to message #465122] Tue, 06 December 2005 14:53 Go to previous message
Eclipse UserFriend
Originally posted by: mwilli.iastate.edu

Is it a new tab folder or just a plain tab. If it's just a tab, they
should appear already. If it's the entire tab folder, look into layout()
and it's derivatives. I was having the same problem adding things like
that during runtime, but running layout() after the item has been added
will force the parent to "place" any items that just had a layout set on
them.

Hope this helps,

Mike

Stephen wrote:
> I have one composite and i'll be adding new tab folder on the fly (e.g
> when an action is performed). But for now, it's need to do something
> with the parent, like resize or something. What will be solution NOT to
> do like that? Like, as soon as a new tab folder is added, it will be
> appeared in the composite. redraw() or something needed?
>
Previous Topic:Menu in Composite
Next Topic:Dynamic placement of composites on composites
Goto Forum:
  


Current Time: Thu Apr 25 06:38:31 GMT 2024

Powered by FUDForum. Page generated in 0.02658 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top