*** empty log message ***

This commit is contained in:
Joe Shochet 2001-02-15 17:38:52 +00:00
parent 312f7352af
commit 59a57c9f94
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,7 @@ class FSM(DirectObject):
# create FSM DirectNotify category
notify = directNotify.newCategory("FSM")
notify.setDebug(1)
# special methods

View File

@ -20,7 +20,7 @@ class FSMInspector(AppShell):
def __init__(self, fsm, **kw):
INITOPT = Pmw.INITOPT
optiondefs = (
('title', self.appname, None),
('title', fsm.getName(), None),
('gridSize', '0.25i', self._setGridSize),
)
self.defineoptions(kw, optiondefs)
@ -424,6 +424,8 @@ class StateInspector(Pmw.MegaArchetype):
def inspectSubMachine(self):
print 'inspect ' + self.tag + ' subMachine'
for childFSM in self.state.getChildren():
FSMInspector(childFSM)
def enteredState(self):
self._canvas.itemconfigure(self.marker, fill = 'Red')