Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Building a TabbedPane like in Eclipse 3.0
Building a TabbedPane like in Eclipse 3.0 [message #443523] Mon, 27 September 2004 10:08 Go to next message
Eclipse UserFriend
Originally posted by: berchemin.noos.fr

Hello,

I would like to create tabbedPane like the one used in Eclipse 3.0 with
the close button that diseappers when the mouse is not over and the nice
curved look. Is there an all-made component or do I have to recreate it ?

Thanks in advance

Alexandre
Re: Building a TabbedPane like in Eclipse 3.0 [message #443527 is a reply to message #443523] Mon, 27 September 2004 12:52 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
It's a CTabFolder control.

Grant

"Alexandre Berchemin-Sirven" <berchemin@noos.fr> wrote in message
news:cj8oqu$sq2$1@eclipse.org...
> Hello,
>
> I would like to create tabbedPane like the one used in Eclipse 3.0 with
> the close button that diseappers when the mouse is not over and the nice
> curved look. Is there an all-made component or do I have to recreate it ?
>
> Thanks in advance
>
> Alexandre
>
Re: Building a TabbedPane like in Eclipse 3.0 [message #443542 is a reply to message #443527] Mon, 27 September 2004 18:37 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
For curves - call CTabFolder.setSimple(false)
For close buttons - create CTabFolder with the style SWT.CLOSE

"Grant Gayed" <grant_gayed@ca.ibm.com> wrote in message
news:cj9262$enc$1@eclipse.org...
> It's a CTabFolder control.
>
> Grant
>
> "Alexandre Berchemin-Sirven" <berchemin@noos.fr> wrote in message
> news:cj8oqu$sq2$1@eclipse.org...
>> Hello,
>>
>> I would like to create tabbedPane like the one used in Eclipse 3.0 with
>> the close button that diseappers when the mouse is not over and the nice
>> curved look. Is there an all-made component or do I have to recreate it ?
>>
>> Thanks in advance
>>
>> Alexandre
>>
>
>
Re: Building a TabbedPane like in Eclipse 3.0 [message #443552 is a reply to message #443542] Tue, 28 September 2004 05:35 Go to previous message
Benjamin Pasero is currently offline Benjamin PaseroFriend
Messages: 337
Registered: July 2009
Senior Member
It would be nice if its possible to enable / disable the Close Button with
one method call, since there does not seem to be a "setStyle()" for a
CTabFolder.

> For curves - call CTabFolder.setSimple(false)
> For close buttons - create CTabFolder with the style SWT.CLOSE

> "Grant Gayed" <grant_gayed@ca.ibm.com> wrote in message
> news:cj9262$enc$1@eclipse.org...
> > It's a CTabFolder control.
> >
> > Grant
> >
> > "Alexandre Berchemin-Sirven" <berchemin@noos.fr> wrote in message
> > news:cj8oqu$sq2$1@eclipse.org...
> >> Hello,
> >>
> >> I would like to create tabbedPane like the one used in Eclipse 3.0 with
> >> the close button that diseappers when the mouse is not over and the nice
> >> curved look. Is there an all-made component or do I have to recreate it ?
> >>
> >> Thanks in advance
> >>
> >> Alexandre
> >>
> >
> >
Previous Topic:Manually expand Tree
Next Topic:cross-platform question
Goto Forum:
  


Current Time: Fri Apr 26 19:40:30 GMT 2024

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

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

Back to the top