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

Class TparHeader

source code


Nested Classes [hide private]

Inherited from urwid.widget.Widget: __metaclass__

Instance Methods [hide private]
 
__init__(self, package, task=None)
widget_list -- list of widgets focus_item -- widget or integer index, if None the first selectable widget will be chosen.
source code
unbound super object
__super(type)
super(type, obj) -> bound super object; requires isinstance(obj, type)...
source code

Inherited from urwid.container.Pile: get_cursor_coords, get_focus, get_item_rows, get_item_size, get_pref_col, keypress, mouse_event, move_cursor_to_coords, render, rows, selectable, set_focus

Inherited from urwid.container.Pile (private): _update_pref_col_from_focus

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

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

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

Class Variables [hide private]
  banner = ' I R A F\n ...

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, package, task=None)
(Constructor)

source code 

widget_list -- list of widgets
focus_item -- widget or integer index, if None the first
    selectable widget will be chosen.

widget_list may also contain tuples such as:
('flow', widget) always treat widget as a flow widget
('fixed', height, widget) give this box widget a fixed height
('weight', weight, widget) if the pile is treated as a box
    widget then treat widget as a box widget with a
    height based on its relative weight value, otherwise
    treat widget as a flow widget

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

If the pile is treated as a box widget there must be at least
one 'weight' tuple in widget_list.

Overrides: object.__init__
(inherited documentation)

__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

Class Variable Details [hide private]

banner

Value:
'''                                   I R A F
                    Image Reduction and Analysis Facility
'''