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 |
|
|
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): |