Developer forums (C::B DEVELOPMENT STRICTLY!) > Contributions to C::B

BOUNTY: Notebook class with "close" button at the right

<< < (9/35) > >>

takeshimiya:

--- Quote from: eranif on January 02, 2006, 09:54:08 am ---If you dont like the VC71 style - you can use the standard style, or wait until I will finish the gradient colored tabs (wont take long now)

--- End quote ---

Great! I for sure always preffer native over non-native, that's what I like about wxWidgets :)
Keep the good job! I hope it will be used in C::B soon :D

Ceniza:
Hi eranif, and welcome to this forums :)

It's pretty interesting to see how quickly it's being developed. Just a few days and it has almost everything needed by Code::Blocks.

I saw you just added RemovePage and OnMouseLeave.

An easy one to add, also used by Code::Blocks, is GetPageText (it's in wxPageContainer but not in wxFlatNotebook).

About the style, I like the VC71 one :)

Just like suggested in wxforum, adding a "close with double/middle click" would be nice too.

I tried to integrate it with Code::Blocks already but I got a really weird error that GDB isn't even catching.

Another set of functions used by Code::Blocks are the ImageList ones, but you said you had problems with the alpha channel doing it that way so you disabled them.

Oh, one last thing, being able to disable the X button would be handy too (for Code::Blocks, Messages and Management shouldn't allow the user to close a tab).

Sorry for the mess :P

mandrav: the test program is already included with wxFlatNotebook, but I'll attach his current version with Code::Blocks project files. Haven't tested with UNICODE build yet.

[attachment deleted by admin]

mandrav:

--- Quote from: Ceniza on January 02, 2006, 10:22:48 am ---mandrav: the test program is already included with wxFlatNotebook, but I'll attach his current version with Code::Blocks project files. Haven't tested with UNICODE build yet.

--- End quote ---

Thanks :)

eranif:
Hi,

I just wanted to let you know that added the GetPageText() API + Middle mouse button for closing tabs, and in addition I also added new
style for tabbing - so you might want to consider it if you dont like the current ones

So currently there are 3 style to choose from:

Fancy style:


VC71 style:


And the default style:


Eran

280Z28:
Can you make middle mouse = close a runtime option? I hate that "feature." I know other people like it so it's great that you have implemented it. :)

Can you also make an option to have a close button on each tab, with the option to have it either on the right or on the left? :)

I'd like to incorporate your work with a new branch of wxAUI. It has *huge* potential as the tab layout for stacked dockable panes. Are you up for this? I'm going to set up a public Subversion repository for my working copy of wxAUI today.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version