[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: What is the "F2 Widget", and can it be reused?

Spy never lies ;-)

WebSite is an internal widget for the implementation of Browser on Windows - 
look a little higher in the parent tree and you will see Browser.

If you create a Shell without any of SWT.TITLE, SWT.CLOSE, SWT.MIN or 
SWT.MAX you will not get a title bar.  In this case they use SWT.TOOL | 
SWT.RESIZE | SWT.ON_TOP.  You can even get rid of the borders using the 
SWT.NO_TRIM style.


"Paul Keyser" <rolarenfan@xxxxxxxxxxxxx> wrote in message 
news:dmprg7$sn6$1@xxxxxxxxxxxxxxxxxxx
> R3.1.1
>
> Float the mouse over any Java-element, press F2, and get a nice 
> "narrow-border, zero-header" window. Nice widget, presumably somehow part 
> of SWT -- what is it called or how is it made?
>
> I tried to find out using the http://eclipse.org/swt/tools.php "Spy", but 
> it gives the result "WebSite" (which I do not believe) or else "Shell" 
> (with styles like TOOL | RESIZE | ON_TOP | ...), which could be true, I 
> suppose, but how are the borders and header suppressed?
>
> If this is not an SWT query, let me know, and I'll try over on "jdt".
>
> Thanks,
> Paul