Changes between Version 1 and Version 2 of WidgetLayout

Show
Ignore:
Timestamp:
01/24/10 11:29:17 (3 years ago)
Author:
ian
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WidgetLayout

    v1 v2  
    1 = Urwid Widget Layout = 
     1UrwidManual 
    22 
    3 [[ManualToc]] 
    4  
    5 == On-Screen Layout == 
     3= Widget Layout = 
    64 
    75Urwid uses widgets to divide up the available screen space.  
     
    7169It is an Urwid convention to 
    7270use the variables `maxcol` and `maxrow` to store a widget's  
    73 size.  Box widgets use the tuple `(maxcol, maxrow)` in 
    74 the signature of functions that are passed a size.   
    75 Flow widgets use the single-element tuple `(maxcol,)` instead 
     71size.  Box widgets require both of `(maxcol, maxrow)` to be specified. 
     72 
     73Flow widgets expect a single-element tuple `(maxcol,)` instead 
    7674because they calculate their `maxrow` based on the `maxcol` 
    77 value.  Fixed widgets expect the value `None` to be passed in 
     75value.   
     76 
     77Fixed widgets expect the value `None` to be passed in 
    7878to functions that take a size because they know their `maxcol` 
    7979and `maxrow` values.