Update interval controls jump to start/end

This commit is contained in:
Mark Mine 2005-08-16 21:08:49 +00:00
parent 9dc875c80d
commit bb63ebad79

View File

@ -397,12 +397,12 @@ class Interval(DirectObject):
bf = Frame(outerFrame)
# Jump to start and end
def toStart(s=self, es=es):
s.pause()
s.setT(0.0)
s.pause()
s.clearToInitial()
es.set(0, fCommand = 0)
def toEnd(s=self):
s.pause()
s.setT(s.getDuration())
es.set(s.getDuration(), fCommand = 0)
s.pause()
jumpToStart = Button(bf, text = '<<', command = toStart)
# Stop/play buttons