[wxPython] few newbie questions

Hi!

I have few questions concerning wxPython:

1) although wxPython works just fine under MS Wi... (err can't say
    that word :slight_smile: ), it's awfully slow with wxGTK under Linux when it
    lays out a new window with few controls.
    Can I expect this will change any time soon / is it only my
    problem? Or do you have any clue whether the other wxWindows
    libraries currently not supported by wxPython (like wxWindows for
    Motif) might be faster?

2) under wxWindows there is support for wxLocale but unless I'm
    mistaken, there's no support for it in wxPython. Also
    wxTheFontMapper seems to be missing and my testing of
    wxFontEnumerator resulted only in seg. faults... I wrote my own
    module that translates texts and changes encodings, so I don't
    really need wxLocale, but I'd love to find some way to switch
    all fonts used in application to cp1250 encoding under Win and
    iso-8859-2 under Linux...

3) when I press ^C on the console running python with program using
    wxPython, I get SIGSEGV after I close the window of the
    application. Not a really big problem but not too elegant either.

4) I have window with the following layout:

···

+-------------------------------------------------------------------+
  > Some label: _TextCtrl___________________________________________ |
  > Another one: _TextCtrl___________________________________________ |
  > >
  > [X] checkbox for example |
  > >
  > Label3: |
  > +---------------------------------------------------------------+ |
  > > multiline wxTextCtrl 1 | |
  > > > >
  > > > >
  > +---------------------------------------------------------------+ |
  > Label4: |
  > +---------------------------------------------------------------+ |
  > > multiline wxTextCtrl 2 | |
  > > > >
  > > > >
  > +---------------------------------------------------------------+ |
  +-------------------------------------------------------------------+

    I define the positions of various controls via
    wxLayoutConstraints. Is there any way to make 'multiline
    wxTextCtrl 1' and 'multiline wxTextCtrl 2' the same height only
    with wxLayoutConstraints? They should occupy the rest of space
    after all labels and other controls are laid out.

Uhh. Enough for now, I should go and get some sleep I guess :slight_smile:

Thanks for all replies.

Jan
    
--
  Jan Fedak talk:jack@tornado.sh.cvut.cz
  mailto:J.Fedak@sh.cvut.cz mailto:jack@mobil.cz
                Linux - the ultimate NT Service Pack.

Jan Fedak wrote:

1) although wxPython works just fine under MS Wi... (err can't say
    that word :slight_smile: ), it's awfully slow with wxGTK under Linux when it
    lays out a new window with few controls.

Are you using some gnome theme??
Some of them slow down wxPython, but with the
default one wxPython is really fast.

Cristian Echeverria wrote:

Jan Fedak wrote:
> 1) although wxPython works just fine under MS Wi... (err can't say
> that word :slight_smile: ), it's awfully slow with wxGTK under Linux when it
> lays out a new window with few controls.

Are you using some gnome theme??
Some of them slow down wxPython, but with the
default one wxPython is really fast.

pixmap themes, in particular.
Of all of the GTK+ theme engines that I've seen, only the pixmap engine
seems to cause the incredible lag with wx applications--unfortunately,
most GTK+ themes are pixmap themes :\