/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/tableview.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/tableview.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1092 by bh, Wed May 28 17:10:04 2003 UTC revision 1096 by jan, Thu May 29 10:03:07 2003 UTC
# Line 325  class QueryTableFrame(TableFrame): Line 325  class QueryTableFrame(TableFrame):
325      """Frame that displays a table in a grid view and offers user actions      """Frame that displays a table in a grid view and offers user actions
326      selection and export      selection and export
327    
328      A LayerTableFrame is TableFrame whose selection is connected to the      A QueryTableFrame is TableFrame whose selection is connected to the
329      selected object in a map.      selected object in a map.
330      """      """
331    
# Line 516  class LayerTableFrame(QueryTableFrame): Line 516  class LayerTableFrame(QueryTableFrame):
516      def OnClose(self, event):      def OnClose(self, event):
517          """Override the derived method to first unsubscribed."""          """Override the derived method to first unsubscribed."""
518          self.parent.Unsubscribe(SHAPES_SELECTED, self.select_shapes)          self.parent.Unsubscribe(SHAPES_SELECTED, self.select_shapes)
519            self.grid.Unsubscribe(ROW_SELECTED, self.rows_selected)
520          QueryTableFrame.OnClose(self, event)          QueryTableFrame.OnClose(self, event)
521    
522      def select_shapes(self, layer, shapes):      def select_shapes(self, layer, shapes):

Legend:
Removed from v.1092  
changed lines
  Added in v.1096

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26