2015-03-21 4:24 GMT+01:00 t gillespie fatbo...@gmail.com:
apparently my windows shuffling is not my as apparently something else broke
and the script wont even run anymore. Howver i realize wxpython is a
library, i meant that python is a language that you hate at first and
eventually grows on you . the object i am trying to accomplish here is i
have 10 frames, on which are various controls from graphs to gauges to
simple indicators, the controls are always collecting data and updating
themselves, the user has access to display the controls which just shows the
frame they are on, i am doing it this way because the screen on the target
application is only 320X240 px there for doing a MDI or even putting them in
a notebook is out of the question becasue i dont have the display space. in
one of the frames i have a notebook and it takes up almost 10% of the screen
in tabs alone. If there was a way to just open all of the windows at runtime
and then do something like MyFrame(),BringToFront() that would be perfect. I
do not want the frames destroyed every time that they are hidden. and i do
have a sort of window manager i suppose its more like a menue with a bunch
of buttons on it , when a user uses the touch screen and presses a button
the window is supposed to be moved to the front.
Hi,
I am not sure, whether it fully fits your requirements, but you could
consider some UI manager like wx.aui or its mor comprehensive and more
recent version wx.lib.agw.aui
cf:
http://www.wxpython.org/docs/api/wx.aui-module.html
a newer docs format for the development version is probably more informative:
http://wxpython.org/Phoenix/docs/html/lib.agw.aui.framemanager.AuiManager.html
You canalso check the features of aui in the wxPython interactive demo
( http://www.wxpython.org/download.php )
While this panel manager is generally used to display and arrange a
larger number of panels at ones on the desktop, you can also hide most
of them and only show the needed ones on demand - e.g. via a menu
button with the respective entries.
I surely adds some complexity to the app, but some useful features for
arranging the panel are handled automatically (e.g. previously used
placement of temporarily hiden panes etc.).
I confess, I didn’t use such apps on a touchscreen and I don’t know,
how it works on such devices
hth,
vbr