Buttons on notebook tabs

Hi,
I would like to know if it's possible to have a button, instead of image, on the wxNotebook tabs.
Thanks in advance

Alessandro Crugnola - sephiroth

···

---------------------------------------------
Macromedia Flash Team Volunteer
http://www.macromedia.com/go/team
Flash && PHP developer
alessandro@sephiroth.it
---------------------------------------------

Alessandro Crugnola *sephiroth* wrote:

Hi,
I would like to know if it's possible to have a button, instead of image, on the wxNotebook tabs.
Thanks in advance

What would a button on a Notebook tab do? This sounds like a very confusing interface, and no, you probably can't do it.

-Chris

···

--
Christopher Barker, Ph.D.
Oceanographer
                                         
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

Alessandro Crugnola *sephiroth* wrote:

Hi,
I would like to know if it's possible to have a button, instead of image, on the wxNotebook tabs.

No, but in 2.5 you can do a HitTest to find out which tab a mouse event happened over, so you can probably do what you want that way.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Thanks
It's always due to the fact i cannot add a working contextual right click menu on notebook tab... So I wanted to add a button on the
tab..

Anyway, when the 2.5 will be available?

Alessandro Crugnola [ sephiroth ]
alessandro@sephiroth.it
Flash & PHP Developer

::-----Original Message-----
::From: Robin Dunn [mailto:robin@alldunn.com]
::Sent: lunedì 22 dicembre 2003 21.13
::To: wxPython-users@lists.wxwindows.org
::Subject: Re: [wxPython-users] Buttons on notebook tabs
::
::Alessandro Crugnola *sephiroth* wrote:
::> Hi,
::> I would like to know if it's possible to have a button,
::instead of image, on the wxNotebook tabs.
::
::No, but in 2.5 you can do a HitTest to find out which tab a
::mouse event happened over, so you can probably do what you
::want that way.
::
::
::--
::Robin Dunn
::Software Craftsman
::http://wxPython.org Java give you jitters? Relax with wxPython!
::
::
::
::---------------------------------------------------------------------
::To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
::For additional commands, e-mail:
::wxPython-users-help@lists.wxwindows.org

Alessandro Crugnola *sephiroth* wrote:

Anyway, when the 2.5 will be available?

I'm shooting for mid January. Join wxPython-dev if you want to help test preview releases.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!