Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-swt-dev] Eclipse M9 and CTabFolder setBackground

Thanks for your quick answers. When the final version 3.0 comes out, will
the api be stable for the future? I use SWT to write my diploma thesis and I
hope I don't have to change much of my source code every time a new version
comes out.

Andreas 

> -----Original Message-----
> From: platform-swt-dev-admin@xxxxxxxxxxx 
> [mailto:platform-swt-dev-admin@xxxxxxxxxxx] On Behalf Of 
> Veronika Irvine
> Sent: Tuesday, May 25, 2004 3:45 PM
> To: platform-swt-dev@xxxxxxxxxxx
> Subject: Re: [platform-swt-dev] Eclipse M9 and CTabFolder 
> setBackground
> 
> The API for CTabFolder is still under construction as noted 
> in the Javadoc.  In M8, Eclipse used the 
> CTabFolder.setBackground(gradient)
> method but for M9 it removed the use of the background 
> gradient.  All API added in 3.0 that was not used by eclipse 
> in M9 was removed.  We do not want to provide API that we do 
> not exercise through eclipse.
> 
> 
> 
> 
> "Andreas Martin" <a.martin@xxxxxxxxxxxxx> Sent by: 
> platform-swt-dev-admin@xxxxxxxxxxx
> 05/25/2004 07:49 AM
> Please respond to
> platform-swt-dev
> 
> 
> To
> <platform-swt-dev@xxxxxxxxxxx>
> cc
> 
> Subject
> [platform-swt-dev] Eclipse M9 and CTabFolder setBackground
> 
> 
> 
> 
> 
> 
> Hallo!
> 
> My Name is Andreas Martin and this is my first post to this 
> mailing list. 
> I
> hope it's the right place for my question, I did not find a 
> solution in
> bugzilla or the archives:
> 
> I used a CTabFolder widget in Eclipse M8 and set the color gradient of
> inactive tabs of a CTabFolder with the function "setBackground(Color[]
> colors, int[] percents, boolean vertical)". I just upgraded 
> to M9 and now 
> I
> get the error "The method setBackground(Color[], int[], 
> boolean) from the
> type CTabFolder is not visible". 
> 
> The definition in CTabFolder is "void setBackground(Color[] 
> colors, int[]
> percents, boolean vertical)" and not "public void" like "public void
> setBackground (Color color)" you can find there too. 
> 
> Can somebody explain why the definition changed or help me 
> what to do to 
> get
> the gradient setBackground function back?
> 
> 
> Thanks
> Andreas Martin
> 
> 
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
> 
> 
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/platform-swt-dev
> 




Back to the top