Skip to main content



      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 11:19 Go to next message
Eclipse UserFriend
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 10:19 Go to previous message
Eclipse UserFriend
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: Sun Jul 13 07:49:53 EDT 2025

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

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

Back to the top