PyDVT.GUIBinding.DrawableTable (version 1.1.0, 08/11/2002)
index
/mntdirect/_bliss/users/gobbo/PyDVT/PyDVT/GUIBinding/DrawableTable.py

DrawableTable.py
Table displaying widget

 
Classes
            
Drawable_Table

 
class Drawable_Table
      Table widget interface definition
        
This class generates the following callbacks to parent (a View object):
    _RightButtonPress
    _ButtonPress
    _DoubleClick
    _ButtonRelease
    _Motion
    _ButtonPressMotion
    _KeyPress
 
  
AdjustColumn(self, col)
Adjust the size of column "col" so all it's text fields
are visible.
MergeCells(self, row, col, rowspan, colspan)
Parameters:
    row: first row to merge
    col: first column to merge
    rowspan: number of rows to merge
    colspan: number of columns to merge
SetCols(self, cols)
Parameters:
    rows: sets number of columns
SetData(self, data=None, h_header=None, v_header=None)
SetHHeaderText(self, col, text)
Sets the string "text" in the column "col" of horizontal header
SetRows(self, rows)
Parameters:
    rows: sets number of rows
SetText(self, row, col, text)
Sets the string "text" in the cell ("row" x "col")
SetVHeaderText(self, row, text)
Sets the string "text" in the row "row" of vertical header
Show(self)
Displays widget
__init__(self, parent=None, vertical_header=1, horizontal_header=1)
Parameters:
    parent: parent widget (a View object)
    vertical_header: if non-zero adds a vertical header
    horizontal_header: if non-zero adds a horizontal header

 
Author
             Alexandre Gobbo (gobbo@esrf.fr)