See attached image. The row of little Windows on top is currently a box sizer,
which fills up sequentially and dynamically via plugins
This row can contain zero to many plugin windows
What I need is
1.) a sash (user resizeable border) on the right hand side (or bottom side if
vertically oriented) of each of these little plugin windows (where I drew the
red lines on the snapshot)
2.) to programmatically change the order of these plugin windows within that
row
Such row can be oriented vertically or horizontally
Ideally, something like:
class sashcontainer:
def init(self, parent, ..., orientation=wx.HORIZONTAL)
"creates an empty container window with the stated orientation - orientation
works like in a box sizer"
def append(self, window, initialwidth=-1)
"appends the window with the stated width and resizes all other contained
windows accordingly"
def insert(self, window,width, position)
as append, but inserts the window within the container at the stated
position
def remove(self, position)
removes the window from the container and resizes all contained windows
automatically to fill up the space
def getWindowWidth(self, position)
returns the current width of the contained window at stated position
def setWindowWidth(self, position, width)
sets the sash of the window at stated position to stated width
I offer US $100 bounty for an implementation of this or just a heartfelt
thanks for any hints how to do it best myself
If somebody wants to do it but reckons $100 is too small a bounty, let me know
- if this is more works than it appears to be, I am happy to increase the
bounty
The code can be added to wxPython stock under standard wxPython license for
all to enjoy because I believe I am not the only one wanting this
Horst
···
On Wed, 8 Jun 2005 19:53, Robin Dunn wrote:
> What I want to do is the following:
> A horizontal box sizer is dynamically filled up with a row of "sash"
> resizeable windows via plugins. Windows can be removed and added/inserted
I'm not quite sure I understand what you are looking for. Please give
some more explaination, pictures, etc.