Mercurial > MadButterfly
comparison pyink/comp_dock.py @ 1458:59b90d7fcf57
Lock UI event handlers for FSM_window
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sat, 16 Apr 2011 22:30:40 +0800 |
parents | 416a18409603 |
children | 75ca2a66c08d |
comparison
equal
deleted
inserted
replaced
1457:416a18409603 | 1458:59b90d7fcf57 |
---|---|
284 | 284 |
285 def FSM_editor_destroy(): | 285 def FSM_editor_destroy(): |
286 self._fsm_editor_win = None | 286 self._fsm_editor_win = None |
287 pass | 287 pass |
288 | 288 |
289 fsm_win = FSM_window.FSM_window(FSM_editor_close, | 289 fsm_win = FSM_window.FSM_window(self._domview_ui, |
290 FSM_editor_close, | |
290 FSM_editor_destroy) | 291 FSM_editor_destroy) |
291 self._fsm_editor_win = fsm_win | 292 self._fsm_editor_win = fsm_win |
292 | 293 |
293 doc = pybInkscape.createSPDocument() | 294 doc = pybInkscape.createSPDocument() |
294 view_widget = pybInkscape.create_svg_view_widget(doc) | 295 view_widget = pybInkscape.create_svg_view_widget(doc) |