|
Re: Few ?'s on SWT... [message #439571 is a reply to message #439311] |
Tue, 13 July 2004 17:04 |
Veronika Irvine Messages: 1272 Registered: July 2009 |
Senior Member |
|
|
1) Shells have the native look. On Windows XP, you can apply the Windows XP
manifest (see link) but other than that, shells look the way they look
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/faq.html#xpthemes
The only other option is the non-rectangular shell:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/snippits/snippet134.html
CTabFolder can have a "curved" shape as follows:
CTabFolder folder = new CTabFolder(parent, SWT.BORDER | SWT.FLAT);
folder.setSimple(false);
2) For how to deal with images in SWT see:
http://www.eclipse.org/articles/Article-SWT-images/graphics- resources.html
3) Documentation
On line doc:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/dev.html#docs
Books :
"SWT: The Standard Widget Toolkit, Volume 1" by Steve Northover and Mike
Wilson
"The Definitive Guide to SWT and JFace" by Rob Warner and Robert Harris
"The Java Developer's Guide to Eclipse" by Sherry Shavor, Jim D'Anjou, Scott
Fairbrother, Dan Kehn, John Kellerman, and Pat McCarthy (Chapter 10)
"Contributing to Eclipse: Principles, Patterns, and Plugins" by Erich Gamma
and Kent Beck (Chapter 34)
"Eclipse in Action: A Guide for the Java Developer" by David Gallardo, Ed
Burnette, and Robert McGovern (Appendix D)
(see
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/SWT_Resources.html
for links)
"A" <avier5@hotmail.com> wrote in message news:cclrdm$6ul$1@eclipse.org...
> Hi all,
> I am new to SWT....
>
> I have few question about SWT's options:
> 1. How can I make the windows and tabItems look much more smooth and
> elegant ?
> 2. How I deal with Icons in SWT?
>
> Also if you know about a very good book with lots of examples...I will be
> happy to know about it.
>
> Thanks,
> A B
>
|
|
|
Powered by
FUDForum. Page generated in 0.01641 seconds