Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Shell without image in title bar
Shell without image in title bar [message #449001] Mon, 17 January 2005 16:19 Go to next message
Darren is currently offline DarrenFriend
Messages: 1
Registered: July 2009
Junior Member
How do I display a shell without an image in the title bar? I tried to
invoke:

Shell.setImage(null)
and
Shell.setImages(new Images[0])

but I can't seem to get rid of the image in the shell's title bar.
Re: Shell without image in title bar [message #449103 is a reply to message #449001] Tue, 18 January 2005 15:19 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Darren,

The icon is a shell decoration. You can change the decorations that a shell
is created with (subject to the whims of the window manager of course <g>)
by creating your Shell with styles like SWT.TITLE, SWT.RESIZE, SWT.MIN, etc.
See the javadoc of any Shell constructor that takes a style argument.

Grant

"Darren" <darrenlew@alumni.duke.edu> wrote in message
news:csgoj0$vic$1@www.eclipse.org...
> How do I display a shell without an image in the title bar? I tried to
> invoke:
>
> Shell.setImage(null)
> and
> Shell.setImages(new Images[0])
>
> but I can't seem to get rid of the image in the shell's title bar.
>
Previous Topic:SWT vs Solaris Gnome desktop
Next Topic:Browser widget issue
Goto Forum:
  


Current Time: Wed Nov 13 10:16:40 GMT 2019

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

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

Back to the top