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

Class StringTparOption

source code


Nested Classes [hide private]

Inherited from urwid.widget.Widget: __metaclass__

Instance Methods [hide private]
 
__init__(self, paramInfo, defaultParamInfo, inform)
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
 
keypress(self, pos, key)
Pass keypress to the focus column.
source code
 
get_name(self) source code
 
get_candidate(self) source code
 
set_candidate(self, s) source code
 
normalize(self, v)
abstract method called to standardize equivalent values when the 'result' is set.
source code
 
get_result(self) source code
 
set_result(self, r) source code
 
unlearn_value(self) source code
 
verify(self, v) source code
 
UNDEL_LINE(self) source code
 
ENTER(self) source code
 
MOVE_UP(self) source code
 
MOVE_DOWN(self) source code
 
PAGE_UP(self) source code
 
PAGE_DOWN(self) source code
 
MOVE_START(self) source code
 
MOVE_END(self) source code
 
linechange(self, rval)
Updates this field when changing the field focus, i.e.
source code
 
READY_LINE(self)
Prepares this field for editing in the current mode: default clear or default edit.
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 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, paramInfo, defaultParamInfo, inform)
(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)

keypress(self, pos, key)

source code 
Pass keypress to the focus column.

size -- (maxcol,) if self.widget_list contains flow widgets or
    (maxcol, maxrow) if it contains box widgets.

Overrides: urwid.container.Columns.keypress
(inherited documentation)

linechange(self, rval)

source code 

Updates this field when changing the field focus, i.e. switching lines.

__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