Logo Search packages:      
Sourcecode: ranger version File versions  Download package

Public Member Functions | Public Attributes | Private Member Functions

ranger::gui::displayable::DisplayableContainer Class Reference

Inheritance diagram for ranger::gui::displayable::DisplayableContainer:
Inheritance graph
[legend]
Collaboration diagram for ranger::gui::displayable::DisplayableContainer:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __contains__
def __init__
def __nonzero__
def __str__
def add_child
def addch
def addnstr
def addstr
def click
def color
def color_at
def color_reset
def contains_point
def destroy
def draw
def finalize
def fm
def poke
def press
def remove_child
def resize
def set_fg_bg_attr
def settings

Public Attributes

 container
 env
 fm
 focused
 hei
 need_redraw
 parent
 paryx
 settings
 visible
 wid
 win
 x
 y

Private Member Functions

def _get_focused_obj

Detailed Description

DisplayableContainers are Displayables which contain other Displayables.

This is also an abstract class. The methods draw, poke, finalize,
click, press and destroy are extended here and will recursively
call the function on all contained objects.

New methods:

add_child(object) -- add the object to the container.
remove_child(object) -- remove the object from the container.

New attributes:

container -- a list with all contained objects (rw)

Definition at line 224 of file displayable.py.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index