# HG changeset patch # User Thinker K.F. Li # Date 1304399383 -28800 # Node ID 9a7332e282912572e277818a0e3a767302474d44 # Parent fc4169113259b16b7b3f130e5a5d040b8c9225be Get objects from builder for state and transition editors diff -r fc4169113259 -r 9a7332e28291 pyink/FSM_window.py --- a/pyink/FSM_window.py Tue May 03 13:00:20 2011 +0800 +++ b/pyink/FSM_window.py Tue May 03 13:09:43 2011 +0800 @@ -112,10 +112,15 @@ state_editor = builder.get_object("state_editor") state_name = builder.get_object('state_name') state_radius = builder.get_object('state_radius') + state_entry_action = builder.get_object('state_entry_action') error_dialog = builder.get_object('error_dialog') error_dialog_label = builder.get_object('error_dialog_label') + transition_editor = builder.get_object('transition_editor') + transition_cond = builder.get_object('transition_cond') + transition_action = builder.get_object('transition_action') + state_menu = builder.get_object('state_menu') transition_menu = builder.get_object('transition_menu') @@ -130,6 +135,11 @@ self._state_editor = state_editor self._state_name = state_name self._state_radius = state_radius + self._state_entry_action = state_entry_action + + self._transition_editor = transition_editor + self._transition_cond = transition_cond + self._transition_action = transition_action self._error_dialog = error_dialog self._error_dialog_label = error_dialog_label