[Urwid] Overlay.mouse_event --> NameError

Rebecca Breu rebecca at rbreu.de
Mon Jun 26 09:03:25 EDT 2006


And another one:

------
  File "/home/rbreu/zeugs/urwid-0.9.4/urwid/widget.py", line 1344, in
mouse_event
    left, right, top, bottom = self.calculate_padding_filler(size)
NameError: global name 'size' is not defined
------

For me it looks as if line 1344 in widget.py,

    left, right, top, bottom = self.calculate_padding_filler(size)

should rather be

    left, right, top, bottom = self.calculate_padding_filler((maxcol, maxrow))



Regards,
Rebecca





More information about the Urwid mailing list