Package nltk :: Package draw :: Module chart :: Class ChartComparer
[hide private]
[frames] | no frames]

Class ChartComparer

source code

object --+
         |
        ChartComparer

Instance Methods [hide private]
 
__init__(self, *chart_filenames)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
destroy(self, *e) source code
 
mainloop(self, *args, **kwargs) source code
 
_init_menubar(self, root) source code
 
_init_divider(self, root) source code
 
_init_chartviews(self, root) source code
 
_init_buttons(self, root) source code
 
_init_bindings(self, root) source code
 
_select_left(self, name) source code
 
_select_right(self, name) source code
 
_apply_op(self) source code
 
save_chart_dialog(self, *args) source code
 
load_chart_dialog(self, *args) source code
 
load_chart(self, filename) source code
 
_update_chartviews(self) source code
 
select_edge(self, edge) source code
 
select_cell(self, i, j) source code
 
_difference(self) source code
 
_intersection(self) source code
 
_union(self) source code
 
_swapcharts(self) source code
 
_checkcompat(self) source code
 
_update(self, operator, out_chart) source code
 
_clear_out_chart(self) source code
 
_detatch_out(self) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  _OPSYMBOL = {'-': '-', 'and': '\xc7', 'or': '\xc8'}
  CHART_FILE_TYPES = [('Pickle file', '.pickle'), ('All files', ...
Instance Variables [hide private]
  _charts
A dictionary mapping names to charts.
  _left_chart
The left Chart.
  _left_matrix
The ChartMatrixView for _left_chart
  _left_name
The name _left_chart (derived from filename)
  _left_selector
The drop-down MutableOptionsMenu used to select _left_chart.
  _op_label
A Label containing the most recent operation.
  _out_chart
The out Chart.
  _out_label
The label for _out_chart.
  _out_matrix
The ChartMatrixView for _out_chart
  _out_name
The name _out_chart (derived from filename)
  _right_chart
The right Chart.
  _right_matrix
The ChartMatrixView for _right_chart
  _right_name
The name _right_chart (derived from filename)
  _right_selector
The drop-down MutableOptionsMenu used to select _right_chart.
  _root
The root window
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *chart_filenames)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details [hide private]

CHART_FILE_TYPES

Value:
[('Pickle file', '.pickle'), ('All files', '*')]

Instance Variable Details [hide private]

_charts

A dictionary mapping names to charts. When charts are loaded, they are added to this dictionary.