Hello again,
on my adventures through the wxPython world, I encountered following
scenario: while trying to direct some output from a pipe into a
wxTextCtrl, I came across three rather simplistic (and almost
cosmetical) problems. [compared to the memory leaking stuff ;-)]
First I thought, putting the wxTextCtrl on an wxMiniFrame would look
rather cool. But wxMiniFrame seems to be meant different, since it
drag the box in some unusual fashion.
Secondly, I tried to set the background of the wxTextCtrl to standard
gray to show the user: this is just an informal display, but failed.
Third, when creating the wxFrame with the only style flag wxCAPTION,
I get the all icons, but the maximizer, not as expected, only the
closer.
[ia32, linux 2.2.16, KDE 1.2, wxGTK 2.2.2, wxPython 2.2.1]
May some enlightened mind put an eye on the attached code.
Would also like to read some comments on the piping stuff & cleanup.
Thanks for listening
hp
P.S.: attached code covers timer controlled output redirection with
python pipes in modeless dialogs.
wxTxtCtrlBG.py (6.92 KB)
···
--
When I originally designed Perl 5's OO, I thought about a lot of this stuff,
and chose the explicit object model of Python as being the least confusing. So
far I haven't seen a good reason to change my mind on that.
-- Larry Wall, 27 Feb 1997 on perl5-porters
AD: python 0.?: OO since the beginning of time