10 |
from wxPython.wx import * |
from wxPython.wx import * |
11 |
from wxPython.grid import * |
from wxPython.grid import * |
12 |
|
|
13 |
|
from Thuban import _ |
14 |
|
|
15 |
import view |
import view |
16 |
from dialogs import NonModalDialog |
from dialogs import NonModalDialog |
17 |
from controls import RecordListCtrl, RecordGridCtrl |
from controls import RecordListCtrl, RecordGridCtrl |
39 |
|
|
40 |
def __init__(self, parent, interactor, name): |
def __init__(self, parent, interactor, name): |
41 |
NonModalDialog.__init__(self, parent, interactor, name, |
NonModalDialog.__init__(self, parent, interactor, name, |
42 |
"Identify Shape") |
_("Identify Shape")) |
43 |
self.interactor.Subscribe(SELECTED_SHAPE, self.selected_shape) |
self.interactor.Subscribe(SELECTED_SHAPE, self.selected_shape) |
44 |
|
|
45 |
panel = wxPanel(self, -1, style = wxWANTS_CHARS) |
panel = wxPanel(self, -1, style = wxWANTS_CHARS) |