[Fwd: Re: [wxPython-users] Hello]

Werner F. Bruhin werner.bruhin at free.fr
Wed Aug 23 00:40:03 PDT 2006


Hi,

kortmann at ideaworks.com wrote:

>Considering I ran into 72 emails this morning/or so, I would agree with
>you that the mailing list does seem rather active still :), and friendly
>also.
>
>I am trying to use more than one panel because the wxpml plotpanel did not
>have a position.  I have a button toolbar, which is a panel with 9 horiz.
>buttons,  on the left side that is 150 pixels wide.
>
Why not make this a toolbar and have the frame manage it.

>  I have a panel on the
>bottom that has 10 textcontrols explicitly placed in positions to make
>them look as if they were aligned with a grid.
>
What about using a flexgridsizer for this.

>  I was using more than one
>panel because it seemed cleaner to me to create a toolbar panel and an
>info panel, and then keep the graph panel(the only one that changes
>through every stage) seperate.  I have tried to use the panel.Show(True)
>and panel.Show(False) commands but when I do this I end up with really
>wierd behavior after i make the Graph panel hidden to ask for more input
>from the user, like my toolbar buttons do not work, unless i switch
>windows and come back, then when i click on the next button on the
>toolbar, or when i click on the panel where the graph was, it gives me
>more wierd behavior and it also makes it to where i can not click on
>anything again.
>  
>
My actual setup is actually a frame, with a menubar, a statusbar and a 
splitterwindow.  The left side panel in the splitter allows the user to 
select the graph to be displayed and appropriate filters.  The graph is 
selected with a combobox, when one selects the graph I clear the figure 
(in the right side panel) and recalculate the graph/plot with the new 
default values.  My graphs are pretty simple so the calc is done in less 
then a second.

If you are still stuck maybe post a small runable sample.

Werner

>I am thinking about trying to just use the MatPlotLib instead ofusing the
>wxmpl, but since i had gotten this far it seemed counterproductive.  The
>only problem is switching panels, but this does not seem to be a good
>thing to be doing so I will search for an alternative way.
>
>-Kenny
>  
>






More information about the wxpython-users mailing list