Re: wxPython : getting started



The book that Colin points out looks good - but not available until Jan
2006. When it comes out I might buy it - just out of curiosity :-)

Personally I "bounced" when I attempted to learn wxPython - I found it much
easier to learn and use Tkinter combined with Pmw.

I really tried on the wxPython as well - it wasn't just a 1/2hr exercise :-)
I must have spent between 4 - 6 weeks attempting to get my head around it
before giving up. The Pmw/TkInter combination was much easier to get up and
going with. Pmw is incredibly powerful once you get the ghist of its core
i.e. the MegaWidget, MegaArchetype etc.

Having said that, I still have my printer utility (Win32) written using
wxPython - I never could work out how to get that working with Pmw/TkInter.
I just used sockets to transfer the text to be printed between the wxPython
print utility and my TkInter/Pmw based application :-)

Peter

"David Sulc" <davidsulc@xxxxxxxxxx> wrote in message
news:438c8dc4$1@xxxxxxxxxxxxxxxxxxx
> Hi !
>
> I've looked all over (internet, books, etc.) and I haven't found a very
> good ressource to get started with wxPython (yes, I've been through
> their tutorial).
>
> What I would basically like to do for starters is to be able to define
> the main panel being displayed. For example :
> 1. wxFrame contains a wxPanel (call it mainPanel).
> 2. mainPanel contains another panel (childPanelA)
> 3. another panel has been defined (childPanelB) but is not displayed
> (the user can only see childPanelA inside mainPanel)
> 4. by clicking on a menu entry (for example), the displayed panel is now
> childPanelA (which is inside mainPanel)
>
> So how do I do this ? I realize it's a very basic question, but it's
> been driving me mad...
>
> Also, is there any good open source wxPython program that I could study ?
>
> Thanks for any help...


.



Relevant Pages

  • wxPython : getting started
    ... I've looked all over and I haven't found a very good ressource to get started with wxPython. ... What I would basically like to do for starters is to be able to define the main panel being displayed. ... wxFrame contains a wxPanel (call it mainPanel). ... another panel has been defined but is not displayed (the user can only see childPanelA inside mainPanel) ...
    (comp.lang.python)
  • Wx Python - Code Structure & Event Handling
    ... I have just started writing a GUI using wxpython after finding a ... slowly becoming accustomed considering I started with the latter GUI ... up the top level panels in my frame as individiual class objects. ... Panel to cause an effect in the other Panel? ...
    (comp.lang.python)
  • Re: Wx Python - Code Structure & Event Handling
    ... I have just started writing a GUI using wxpython after finding a ... Panel to cause an effect in the other Panel? ...     def OnClick: ... In my more complex applications, I'll do the widgets in their own ...
    (comp.lang.python)
  • Re: wxPython : getting started
    ... It has a 20 page introducrtion on using wxPython. ... > the main panel being displayed. ... wxFrame contains a wxPanel (call it mainPanel). ... > (the user can only see childPanelA inside mainPanel) ...
    (comp.lang.python)
  • Re: create window on panel
    ... I have been trying to use wxPython to design a GUI that will be ... displayed on the panel on the top of desktop. ... it will dwell on the panel to display some dynamic ... The reason is that your "panel" is part of the window manager. ...
    (comp.lang.python)