wxPython / wxSingleChoiceDialog ...
Cliff Wells
logiplexsoftware at earthlink.net
Mon Apr 1 13:25:31 EST 2002
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.
--
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308 (800) 735-0555 x308
More information about the Python-list
mailing list