I want to accomplish a few things with a wxNotebook:
* Reorder the notebook tabs with a mouse drag
* Popup menu based on tab identity
* Dock/Undock notebook tab contents with mouse drag
I am able to get all the standard mouse events, but I don't know how to get a page index from the mouse position. I did not see a method on wxNotebook. Am I missing the boat? If not, can this functionality be exposed in the next release?
Thanks for the help,
-Shane
···
--
wxPython version is 2.4.0.6
platform is Microsoft Windows XP -- but will be developed cross platform
I want to accomplish a few things with a wxNotebook:
* Reorder the notebook tabs with a mouse drag
* Popup menu based on tab identity
* Dock/Undock notebook tab contents with mouse drag
I am able to get all the standard mouse events, but I don't know how to get a page index from the mouse position. I did not see a method on wxNotebook. Am I missing the boat? If not, can this functionality be exposed in the next release?
There isn't any way to do this now, and Im not sure if it is even possible at the platform level for all the platforms. You can enter a feature request though and maybe if someone knows better then it will be done.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
There isn't any way to do this now, and Im not sure if it is even possible at the platform level for all the platforms. You can enter a feature request though and maybe if someone knows better then it will be done.
Thanks Robin -- I've made the feature request on wxWindows tracker.