«
class documentation

class ChartComparer(object): (source)

Constructor: ChartComparer(*chart_filenames)

View In Hierarchy

Method __init__ Undocumented
Method destroy Undocumented
Method load_chart Undocumented
Method load_chart_dialog Undocumented
Method mainloop Undocumented
Method save_chart_dialog Undocumented
Method select_cell Undocumented
Method select_edge Undocumented
Constant CHART_FILE_TYPES Undocumented
Method _apply_op Undocumented
Method _checkcompat Undocumented
Method _clear_out_chart Undocumented
Method _detatch_out Undocumented
Method _difference Undocumented
Method _init_bindings Undocumented
Method _init_buttons Undocumented
Method _init_chartviews Undocumented
Method _init_divider Undocumented
Method _init_menubar Undocumented
Method _intersection Undocumented
Method _select_left Undocumented
Method _select_right Undocumented
Method _swapcharts Undocumented
Method _union Undocumented
Method _update Undocumented
Method _update_chartviews Undocumented
Constant _OPSYMBOL Undocumented
Instance Variable _charts A dictionary mapping names to charts. When charts are loaded, they are added to this dictionary.
Instance Variable _emptychart Undocumented
Instance Variable _left_chart The left Chart.
Instance Variable _left_matrix The ChartMatrixView for _left_chart
Instance Variable _left_name The name _left_chart (derived from filename)
Instance Variable _left_selector The drop-down MutableOptionsMenu used to select _left_chart.
Instance Variable _op_label A Label containing the most recent operation.
Instance Variable _operator Undocumented
Instance Variable _out_chart The out Chart.
Instance Variable _out_label The label for _out_chart.
Instance Variable _out_matrix The ChartMatrixView for _out_chart
Instance Variable _out_name The name _out_chart (derived from filename)
Instance Variable _right_chart The right Chart.
Instance Variable _right_matrix The ChartMatrixView for _right_chart
Instance Variable _right_name The name _right_chart (derived from filename)
Instance Variable _right_selector The drop-down MutableOptionsMenu used to select _right_chart.
Instance Variable _root The root window
def __init__(self, *chart_filenames): (source)

Undocumented

def destroy(self, *e): (source)

Undocumented

def load_chart(self, filename): (source)

Undocumented

def load_chart_dialog(self, *args): (source)

Undocumented

def mainloop(self, *args, **kwargs): (source)

Undocumented

def save_chart_dialog(self, *args): (source)

Undocumented

def select_cell(self, i, j): (source)

Undocumented

def select_edge(self, edge): (source)

Undocumented

CHART_FILE_TYPES: list = (source)

Undocumented

Value
[('Pickle file', '.pickle'), ('All files', '*')]
def _apply_op(self): (source)

Undocumented

def _checkcompat(self): (source)

Undocumented

def _clear_out_chart(self): (source)

Undocumented

def _detatch_out(self): (source)

Undocumented

def _difference(self): (source)

Undocumented

def _init_bindings(self, root): (source)

Undocumented

def _init_buttons(self, root): (source)

Undocumented

def _init_chartviews(self, root): (source)

Undocumented

def _init_divider(self, root): (source)

Undocumented

def _init_menubar(self, root): (source)

Undocumented

def _intersection(self): (source)

Undocumented

def _select_left(self, name): (source)

Undocumented

def _select_right(self, name): (source)

Undocumented

def _swapcharts(self): (source)

Undocumented

def _union(self): (source)

Undocumented

def _update(self, operator, out_chart): (source)

Undocumented

def _update_chartviews(self): (source)

Undocumented

_OPSYMBOL = (source)

Undocumented

Value
{'-': '-',
 'and': SymbolWidget.SYMBOLS['intersection'],
 'or': SymbolWidget.SYMBOLS['union']}

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

_emptychart = (source)

Undocumented

_left_chart = (source)

The left Chart.

_left_matrix = (source)

The ChartMatrixView for _left_chart

_left_name = (source)

The name _left_chart (derived from filename)

_left_selector = (source)

The drop-down MutableOptionsMenu used to select _left_chart.

_op_label = (source)

A Label containing the most recent operation.

_operator = (source)

Undocumented

_out_chart = (source)

The out Chart.

_out_label = (source)

The label for _out_chart.

_out_matrix = (source)

The ChartMatrixView for _out_chart

_out_name = (source)

The name _out_chart (derived from filename)

_right_chart = (source)

The right Chart.

_right_matrix = (source)

The ChartMatrixView for _right_chart

_right_name = (source)

The name _right_chart (derived from filename)

_right_selector = (source)

The drop-down MutableOptionsMenu used to select _right_chart.

The root window