[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [platform-swt-dev] how to set the TreeItem font to bold?
|
You are right. The code I sent is only for windows. And I don't think windows API can support set font for TreeItem. :-(
If you have any good idea, please let us know.
Thanks.
Dayu
-----Original Message-----
From: David Whiteman [mailto:dlwhiteman@xxxxxxxxxxxxxxx]
Sent: Wednesday, April 16, 2003 3:26 PM
To: platform-swt-dev@xxxxxxxxxxx
Subject: Re: [platform-swt-dev] how to set the TreeItem font to bold?
Wednesday, April 16, 2003, 4:16:04 PM, Veronika Irvine wrote:
> Please enter an enhancement request against Platform SWT in bugzilla and
> add your snippet.
> Note that your implementation is specific to Windows but SWT supports the
> same API on all platforms. We need to to investigate the solution for all
> platforms before releasing new API.
Yes, I would imagine the API would be to set the font of the tree
item, and get the bold state out of the font, rather than having a
separate setBold() API. Otherwise you open yourself up to
setItalic(), etc.
David
--
Regards,
David
mailto:dlwhiteman@xxxxxxxxxxxxxxx
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-swt-dev