wxPython / wxSingleChoiceDialog ...
Uwe Schmitt
uwe at rocksport.de
Mon Apr 1 15:57:34 EST 2002
Cliff Wells <logiplexsoftware at earthlink.net> wrote:
| On 1 Apr 2002 15:55:44 GMT
| Uwe Schmitt wrote:
|> 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...
| dialog.GetChildren(). Look at the docs for wxWindow.
o.k i used that and found a wxListBox as children. How do I now
manipulate the font of the entries of the ListBox ???
Greetings,Uwe
--
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