I am trying to make a 1D console application using Urwid for displaying
a user editable application form as shown below.
_________________________
| Application Form |
| ---------------- |
| ' ' |
| ' ' |
| ---------------- |
| |
| ---------------- |
| ' --------- ' |
| ' ' ' ' |
| ' --------- ' |
| ' ' |
| ---------------- |
| |
|_________________________|
Consider the outer rectangle as one window or widget that contains the header title "Application Form" and other smaller windows inside it. The smaller windows or widgets can contain other windows.
In each of the smaller windows, some text along with some buttons for user editing needs to be displayed. Which of the container widgets from among the following, available from Urwid library, can be recommended to use that will allow me vertical scrolling? Pile, LineBox, ,Frame, ListBox, or AttrMap.
Keep in mind that I need vertical scrolling as my outermost rectangle or window will not fit in the standard screen.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…