wxPython / wxSingleChoiceDialog ...

Uwe Schmitt uwe at rocksport.de
Mon Apr 1 10:55:44 EST 2002


Vadim Zeitlin <zeitlin at seth.lpthe.jussieu.fr> wrote:
| On 1 Apr 2002 13:54:42 GMT, Uwe Schmitt <uwe at rocksport.de> wrote:
|> I tried to manipulate wxSinglChoiceDialog so that the presented 
|> choices are printed with a fixed width font. I tried SetFont()
|> but nothing changed...

|  You should change the font of the listbox used by this dialog, not the dialog
| itself. Although there is no way to access this listbox directly (and unlikely
| to ever be), you can iterate over the dialog children until you find it.

I inspectetd the __dict__ attribute of my singlechoicedialog object and
tried dir() but found no hints how to iterate over the dialog children...

Greetings, Uwe.

|  Regards,
| VZ

-- 
Dr. rer. nat. Uwe Schmitt                       Uwe.Schmitt at num.uni-sb.de
Universitaet des Saarlandes                     Angewandte Mathematik
Building 36.1 Room 4.17         PO-Box 151150   D-66041 Saarbruecken
Mobile:0177/6806587    Fax:+49(0)681/302-4435   Office:+49(0)681/302-2468



More information about the Python-list mailing list