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

snack::CListbox Class Reference

Inheritance diagram for snack::CListbox:


List of all members.

Detailed Description

Clistbox convenience class.


 - Clistbox(self, height, cols, cols_widths, scroll = 0)       : constructor
 - colFormText(self, col_text, align = None, adjust_width = 0) : column text.
 - append(self, col_text, item, col_text_align = None)         :
 - insert(self, col_text, item, before, col_text_align = None)
 - delete(self, item)
 - replace(self, col_text, item, col_text_align = None)
 - current(self) : returns current item
 - setCurrent(self, item): sets an item as current
 - clear(self): clear the listbox
 Alignments may be LEFT, RIGHT, CENTER, None

Definition at line 864 of file snack.py.

Public Member Functions

def __init__
def __init__
def append
def clear
def colFormText
def current
def delete
def insert
def place
def replace
def setCurrent
def setField

Public Attributes


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

Generated by  Doxygen 1.6.0   Back to index