TextCtrl and ENTER key

Definitely worth asking :slight_smile:

Thanks

···

Am 15.09.11 08:11, schrieb jmfauth:

On 14 sep, 13:46, Tobias Weber <tobias.we...@roglink.net> wrote:

Simple quick questions ..

Did you not forget a question? Python 2 our Python 3?

jmf

--
--------------------------------------------------
Tobias Weber
CEO

The ROG Corporation GmbH
Donaustaufer Str. 200
93059 Regensburg
Tel: +49 941 4610 57 55
Fax: +49 941 4610 57 56

www.roglink.com

GeschŠftsfŸhrer: Tobias Weber
Registergericht: Amtsgericht Regensburg - HRB 8954
UStID DE225905250 - Steuer-Nr.184/59359
--------------------------------------------------

1:
What platforms are u coding on?

OS-X, Windows (XP still!), some Linux (Ubuntu)

2:
What target platforms are you coding for?

OS-X, Windows (Linux secondarily)

4:
What languages other than python/ wx.python are you coding in on a
regular basis (ranking from most-1 to least-10 .... )?

Python -- 1
Cython -- 3
C -- 8
MATLAB -- 10

(LateX, Plain text, HTML, etc, etc. -- relevant to what Editor I use)

5:
Is python the main language u are using?

yes.

6:
What language are you coming from?

It's been a long time!
  - MATLAB
  - Fortran
  - C
  - Basic (way back when!)

7:
What editors are you using for python and wx.python?

Peppy (http://peppy.flipturn.org/)
  I don't think anyone else has mentioned this one yet!

8:
What other editors have u used and why did u switch?

(X)Emacs -- I wanted an editor that used the same conventions as everything else for the basic stuff (cut&paste, etc), and a had a decent native-ish GUI on Mac, Windows and Linux...

BBedit -- Mac onlyl -- I want to use the same editor on all platfroms

Eclipse == Way too huge and forces you to work its way -- it's hard to just open a text file, for gosh sake!

Peppy is the only editor I've found that:
  - Is general purpose, not too focused on Python
  - Does Python indentation right
  - Has a pretty native, modern GUI (wxPython, natch')
  - Has a few features I find essential:
     - multiple top-level windows
     - can see the same file in multiple windows at once
     - interactive search
  - Customizable in Python
  - Runs and looks fairly native on Windows, OS-X and Linux

9:
What other GUI Toolkits are u using and why?

None. (except Jscript/HTML, because that's the only viable way to build a web app)

10:
Is most of your programming:
- private
- open source
- commercial
- sthg. I did not think of ...

Government -- which is sort of Open Source, sort of Commercial

11:
Are you actively involved in open source projects? If YES in what?

Yes
-- numpy/scipy
-- wxPython
-- Some FOSS4G (GDAL, etc)

12:
(Taken into account other GUI Toolkits experience) What are your top3
widgets/ features and what are the 3 most annoying things in wx.python?

Top Things:
   Sizers
   Platform-native
   Good license
   Community!

Annoying Things:
   Too C++-ish an API (this has gotten better over the years, though)

NOTE: for someone that responded to this query:

If wxPython is hard-crashing with any frequency, it's probably because of how it is compiled on Linux. I may have the details wrong, but:

The wx core can be compiled so that it does a lot more type checking, etc, so you get an error, rather than a crash, when something wrong is passed in. (this may be-bug mode). For C++ development, you wouldn't want this, it sapps performance a touch, and the compiler is type checkign for you anyway. But with wxPython, if don't compile it this way, you will get hard crashes, rather than errors, in some cases where you pass the wrong type, etc into a wx class.

Unfortunatly, some Linux distors haven't notices this, and deliver wxPython without the run-time type checking on, and you will get a LOT more crashes as a result. This is probably because they want to share the same wx build for C++ and Python use, but it makes wxPython look bad on Linux.

I'm pretty sure I haven't had a hard crash of wx in years!

-Chris

···

On 9/14/11 4:46 AM, Tobias Weber wrote:

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov

It's been asked repeatedly over the last couple of years but from what I
can read from the list archives it's been a while so I am interested
what has changed over the past 3 years ...

Simple quick questions .. in case we get a ot of replies I am willing to
put it all 2gether online ....

1:
What platforms are u coding on?

Linux - Ubuntu 11.04

2:
What target platforms are you coding for?

Linux, MS windows

4:
What languages other than python/ wx.python are you coding in on a
regular basis (ranking from most-1 to least-10 .... )?

None

5:
Is python the main language u are using?

Yes

6:
What language are you coming from?

Smalltalk, C

7:
What editors are you using for python and wx.python?

Wing IDE Professional v4 (and it is superb).

8:
What other editors have u used and why did u switch?

EMACS. Not really an IDE (without putting in more time than I have?).
SPE. Poor support.

9:
What other GUI Toolkits are u using and why?

wxPython only - no time play the field :wink:

10:
Is most of your programming:
- private
- open source
- commercial
- sthg. I did not think of ...
open source
11:
Are you actively involved in open source projects? If YES in what?

YES. Flight recording system for gliding clubs.
www.glidingcanterbury.org.nz/glidetime.aspx

12:
(Taken into account other GUI Toolkits experience) What are your top3
widgets/ features and what are the 3 most annoying things in wx.python?

ComboBox, ListCtrl (I don't need anything fancy).
Annoying:
Poorly documented inconsistencies between behaviours under Linux and
MSWin,
particularly in relation to font sizes.
Online doc in general is very widely dispersed - I would be lost
without the Rappin/Dunn and Precord books.
Lack of a better integrated visual designer. I use wxGlade, but it has
its foibles ;).

···

On Sep 14, 11:46 pm, Tobias Weber <tobias.we...@roglink.net> wrote:

Thanks for your conribution

Cheers,

T