Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » About the underlying system
About the underlying system [message #446061] Wed, 17 November 2004 14:25 Go to next message
bob is currently offline bobFriend
Messages: 60
Registered: July 2009
Member
When i create a widget, "SWT immediately creates the underlying platform
widget",so is that mean the widget can be shown on the screen? But i have to
open the shell first to make so happen.What does "SWT immediately creates
the underlying platform widget" mean exactly?
Re: About the underlying system [message #446128 is a reply to message #446061] Wed, 17 November 2004 15:42 Go to previous message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Not quite sure what your question is. In order for a widget to be visible,
all of its parents need to be visible. Shell.open makes the Shell visible.

When the widget is created, the operating resources are allocated
immediately (handle(s)). This is not sufficient for causing the widget to
be rendered to the screen. The widget must be given a size and the parents
of the widget must be made visible.

"bob" <sdbxch@langchao.com> wrote in message
news:cnfn41$h8s$1@www.eclipse.org...
> When i create a widget, "SWT immediately creates the underlying platform
> widget",so is that mean the widget can be shown on the screen? But i have
> to
> open the shell first to make so happen.What does "SWT immediately creates
> the underlying platform widget" mean exactly?
>
>
Previous Topic:showSelection on List is kinda slow
Next Topic:Copy a table to clipboard
Goto Forum:
  


Current Time: Mon Oct 26 18:55:32 GMT 2020

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

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

Back to the top