Package pyraf :: Module tpar :: Class BooleanTparOption
[hide private]
[frames] | no frames]

Class BooleanTparOption

source code


Nested Classes [hide private]

Inherited from urwid.widget.Widget: __metaclass__

Instance Methods [hide private]
 
__init__(self, *args, **keys)
widget_list -- list of flow widgets or list of box widgets dividechars -- blank characters between columns focus_column -- index into widget_list of column in focus, if None the first selectable widget will be chosen.
source code
 
TOGGLE(self) source code
 
normalize(self, v)
abstract method called to standardize equivalent values when the 'result' is set.
source code
 
verify(self, v) source code
 
klass(self) source code
unbound super object
__super(type)
super(type, obj) -> bound super object; requires isinstance(obj, type)...
source code

Inherited from StringTparOption: ENTER, MOVE_DOWN, MOVE_END, MOVE_START, MOVE_UP, PAGE_DOWN, PAGE_UP, READY_LINE, UNDEL_LINE, get_candidate, get_name, get_result, keypress, linechange, set_candidate, set_result, unlearn_value

Inherited from urwid.container.Columns: column_widths, get_cursor_coords, get_focus, get_focus_column, get_pref_col, mouse_event, move_cursor_to_coords, render, rows, selectable, set_focus, set_focus_column

Inherited from urwid.container.Columns (private): _invalidate

Inherited from urwid.widget.Widget: __repr__, pack, sizing

Inherited from urwid.widget.Widget (private): _emit, _repr_attrs, _repr_words

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from urwid.widget.Widget (private): _selectable, _sizing

Properties [hide private]

Inherited from urwid.widget.Widget: base_widget

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **keys)
(Constructor)

source code 

widget_list -- list of flow widgets or list of box widgets
dividechars -- blank characters between columns
focus_column -- index into widget_list of column in focus,
    if None the first selectable widget will be chosen.
min_width -- minimum width for each column before it is hidden
box_columns -- a list of column indexes containing box widgets
    whose maxrow is set to the maximum of the rows 
    required by columns not listed in box_columns.

widget_list may also contain tuples such as:
('fixed', width, widget) give this column a fixed width
('weight', weight, widget) give this column a relative weight

widgets not in a tuple are the same as ('weight', 1, widget)    

box_columns is ignored when this widget is being used as a
box widget because in that case all columns are treated as box
widgets.

Overrides: object.__init__
(inherited documentation)

normalize(self, v)

source code 

abstract method called to standardize equivalent values when the 'result' is set.

Overrides: StringTparOption.normalize
(inherited documentation)

verify(self, v)

source code 
Overrides: StringTparOption.verify

klass(self)

source code 
Overrides: StringTparOption.klass

__super(type)

source code 
super(type, obj) -> bound super object; requires isinstance(obj, type)
super(type, type2) -> bound super object; requires issubclass(type2, type)
Typical use to call a cooperative superclass method:
class C(B):
    def meth(self, arg):
        super(C, self).meth(arg)

Returns: unbound super object