comparison pyink/FSM_window.py @ 1493:b0e113605382

Add comment
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 02 May 2011 23:26:32 +0800
parents 6616530c4180
children ac390af12152
comparison
equal deleted inserted replaced
1492:6616530c4180 1493:b0e113605382
932 pass 932 pass
933 933
934 def _select_transition(self, trn): 934 def _select_transition(self, trn):
935 def cleaner(): 935 def cleaner():
936 trn.hide_control_points() 936 trn.hide_control_points()
937 del self._hint_transition 937 del self._hint_transition # enable _hint_transition
938 pass 938 pass
939
940 self._hint_transition = lambda *args: None # disable _hint_transition
941
939 self._clean_select() 942 self._clean_select()
940 self._selected_cleaner = cleaner 943 self._selected_cleaner = cleaner
941 trn.show_control_points() 944 trn.show_control_points()
942 945
943 trn.stop_hint() 946 trn.stop_hint()
944 self._hint_transition = lambda *args: None
945 window = self._window 947 window = self._window
946 window.ungrab_bg() 948 window.ungrab_bg()
947 949
948 self._install_transition_mouse_event_handler(trn) 950 self._install_transition_mouse_event_handler(trn)
949 pass 951 pass