Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » [ CTabFolder ] setting color of deselected (unselected) tabitems
[ CTabFolder ] setting color of deselected (unselected) tabitems [message #441686] Thu, 19 August 2004 20:54 Go to next message
Eclipse UserFriend
Originally posted by: v.j.b

hello,

we're using the CTabFolder in a standalone swt app, and found that there is
no way to set the backgroundcolor for a disabled (unselected, as they are
called in source) TabItem. Deselected TabItems are currently always painted
with the bgcolor set on the parent TabFolder.

I found some methods that are internal to CTabFolder, namely
setBackground(int[] colors, etc), but since they only take an int array of
colors, only SWT colors can be used.
The setImage method sets an image on 'unselected' TabItems (and on the
entire 'bar' at the top). So it seems there is no way to set the
backgroundcolor of deselected CTabItems.

Is this something to enter an enhancement request for in Bugzilla?

tnx in advance

PS: on a side note: it might be nice to be able to set the backgroundcolor
of the horizontal 'bar' at the top of the CTabFolder, the area where the
tabs are painted on. This area currently takes on the backgroundcolor of the
CTabFolder.
Re: [ CTabFolder ] setting color of deselected (unselected) tabitems [message #441708 is a reply to message #441686] Sun, 22 August 2004 10:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: v.j.b

I guess this is not interesting for the rest of the NG?
Re: [ CTabFolder ] setting color of deselected (unselected) tabitems [message #441709 is a reply to message #441708] Sun, 22 August 2004 12:51 Go to previous messageGo to next message
Peter Sommerfeld is currently offline Peter SommerfeldFriend
Messages: 12
Registered: July 2009
Junior Member
"varname" wrote
> I guess this is not interesting for the rest of the NG?

I guess its sunday...

Sorry, cannot help you.

regards

Peter
Re: [ CTabFolder ] setting color of deselected (unselected) tabitems [message #441744 is a reply to message #441686] Mon, 23 August 2004 13:11 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
Please enter an enhancement request in Bugzilla.

"varname" <v@j.b> wrote in message news:cg33sb$h93$1@eclipse.org...
> hello,
>
> we're using the CTabFolder in a standalone swt app, and found that there
is
> no way to set the backgroundcolor for a disabled (unselected, as they are
> called in source) TabItem. Deselected TabItems are currently always
painted
> with the bgcolor set on the parent TabFolder.
>
> I found some methods that are internal to CTabFolder, namely
> setBackground(int[] colors, etc), but since they only take an int array of
> colors, only SWT colors can be used.
> The setImage method sets an image on 'unselected' TabItems (and on the
> entire 'bar' at the top). So it seems there is no way to set the
> backgroundcolor of deselected CTabItems.
>
> Is this something to enter an enhancement request for in Bugzilla?
>
> tnx in advance
>
> PS: on a side note: it might be nice to be able to set the backgroundcolor
> of the horizontal 'bar' at the top of the CTabFolder, the area where the
> tabs are painted on. This area currently takes on the backgroundcolor of
the
> CTabFolder.
>
>
Re: [ CTabFolder ] setting color of deselected (unselected) tabitems [message #441762 is a reply to message #441744] Tue, 24 August 2004 14:05 Go to previous message
Eclipse UserFriend
Originally posted by: v.j.b

"Veronika Irvine" <veronika_irvine@oti.com> wrote in message
news:cgcq96$4rg$1@eclipse.org...
> Please enter an enhancement request in Bugzilla.

Will do, tnx for the response.
Btw, is it necessary to register to use Bugzilla? nevermind, I see it is
Previous Topic:PieSlice - Useful source for people (and maybe inclusion in SWT?)
Next Topic:[OT] Sending e-mail using default e-mail client
Goto Forum:
  


Current Time: Fri Apr 26 04:57:50 GMT 2024

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

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

Back to the top