[Urwid] Re: filechooser
Fabian Braennstroem
f.braennstroem at gmx.de
Sun Oct 15 16:03:45 EDT 2006
Hi Ian,
* Ian Ward <ian at excess.org> wrote:
> Rebecca Breu wrote:
>> class FileChooser(WidgetWrap):
> ...
>> def __init__(self, directory=".", file="", attr=(None, None),
>> show_hidden=False):
>> """
>> directory, file -- default selection
>> attr -- (inner selectable widgets, selected widgets)
>> show_hidden -- If True, hidden files are shown by default.
>> """
>>
>> selection = None
>> b_pressed = None
>
> This should probably say "self.b_pressed = None"
Thanks for your help! That works.
Greetings!
Fabian
More information about the Urwid
mailing list