'AttributeError' While Trying To Create A Console Screen Using Urwid
code below creates a layout and displays some text in the layout. Next the layout is displayed on the console screen using raw display module from urwid library. (More info on my c
Solution 1:
The Attribute Error was removed by adding following lines in the code as shown at this question.
line 1 :
self.loop.widget = self.view
in main
of class FormDisplay
line 2 :
doing a return Frame
instead of return
in the function formLayout()
line 3 :
added lines to handle key presses in unhandled_input
function
Post a Comment for "'AttributeError' While Trying To Create A Console Screen Using Urwid"