Back to index

python3.2  3.2.2
Public Member Functions | Private Attributes | Static Private Attributes
pynche.StripViewer.StripWidget Class Reference

List of all members.

Public Member Functions

def __init__

Private Attributes

 __generator
 __axis
 __numchips
 __uwd
 __hexp
 __lastchip
 __sb
 __canvas

Static Private Attributes

int _CHIPHEIGHT = 50
int _CHIPWIDTH = 10
int _NUMCHIPS = 40

Detailed Description

Definition at line 160 of file StripViewer.py.


Constructor & Destructor Documentation

def pynche.StripViewer.StripWidget.__init__ (   self,
  switchboard,
  master = None,
  chipwidth = _CHIPWIDTH,
  chipheight = _CHIPHEIGHT,
  numchips = _NUMCHIPS,
  generator = None,
  axis = None,
  label = '',
  uwdvar = None,
  hexvar = None 
)

Definition at line 174 of file StripViewer.py.

00174 
00175                  hexvar     = None):
00176         # instance variables
00177         self.__generator = generator
00178         self.__axis = axis
00179         self.__numchips = numchips
00180         assert self.__axis in (0, 1, 2)
00181         self.__uwd = uwdvar
00182         self.__hexp = hexvar
00183         # the last chip selected
00184         self.__lastchip = None
00185         self.__sb = switchboard
00186 
00187         canvaswidth = numchips * (chipwidth + 1)
00188         canvasheight = chipheight + 43            # BAW: Kludge
00189 
00190         # create the canvas and pack it
00191         canvas = self.__canvas = Canvas(master,
00192                                         width=canvaswidth,
                                        height=canvasheight,

Here is the caller graph for this function:


Member Data Documentation

Definition at line 177 of file StripViewer.py.

Definition at line 190 of file StripViewer.py.

Definition at line 176 of file StripViewer.py.

Definition at line 181 of file StripViewer.py.

Definition at line 183 of file StripViewer.py.

Definition at line 178 of file StripViewer.py.

Definition at line 184 of file StripViewer.py.

Definition at line 180 of file StripViewer.py.

Definition at line 161 of file StripViewer.py.

Definition at line 162 of file StripViewer.py.

Definition at line 163 of file StripViewer.py.


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