From d61c0daba6a2931c68edeb0f00ec5bd1232ccc5b Mon Sep 17 00:00:00 2001 From: Mark Mine Date: Sat, 28 Oct 2000 00:57:09 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/tkpanels/FSMInspector.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/direct/src/tkpanels/FSMInspector.py b/direct/src/tkpanels/FSMInspector.py index 674f188316..30f1b40d18 100644 --- a/direct/src/tkpanels/FSMInspector.py +++ b/direct/src/tkpanels/FSMInspector.py @@ -487,6 +487,9 @@ if __name__ == '__main__': fsmi = FSMInspector(title = 'My Little Viewer', FSM = fsm) mainloop() """ +# Set want-tk #t in Configrc +import FSM +import State def enterState(): print 'enterState' def exitState(): @@ -497,6 +500,8 @@ fsm = FSM.FSM('stopLight', State.State('green', enterState, exitState, ['yellow']) ], 'red', 'red') -inspector = FSMInspector(FSM = fsm) + +import FSMInspector +inspector = FSMInspector.FSMInspector(FSM = fsm, title = fsm.getName()) """