Home | History | Annotate | Download | only in JetCreator

Lines Matching full:time

405         self.time = (wx.TextCtrl(parent, -1, str(value[0]), pos=(p1, top), size=(w1, -1), style=wx.TE_NOHIDESEL),

409 h = self.time[2].GetSize().height
410 w = self.time[2].GetSize().width + self.time[2].GetPosition().x + 8
419 self.time[0].Bind(wx.EVT_SET_FOCUS, self.OnFocusMeasure, self.time[0] )
420 self.time[1].Bind(wx.EVT_SET_FOCUS, self.OnFocusBeat, self.time[1] )
421 self.time[2].Bind(wx.EVT_SET_FOCUS, self.OnFocusTick, self.time[2] )
423 self.time[0].Bind(wx.EVT_KILL_FOCUS, self.OnChangeVal, self.time[0] )
424 self.time[1].Bind(wx.EVT_KILL_FOCUS, self.OnChangeVal, self.time[1] )
425 self.time[2].Bind(wx.EVT_KILL_FOCUS, self.OnChangeVal, self.time[2] )
430 self.time[0].Unbind(wx.EVT_KILL_FOCUS, self.time[0])
431 self.time[1].Unbind(wx.EVT_KILL_FOCUS, self.time[1])
432 self.time[2].Unbind(wx.EVT_KILL_FOCUS, self.time[2])
439 self.time[self.iCtrl].SetSelection(-1,-1)
440 time[self.iCtrl].GetValue()) > self.mx[self.iCtrl]:
441 self.time[self.iCtrl].SetValue(str(self.mx[self.iCtrl]))
442 if int(self.time[self.iCtrl].GetValue()) < self.mn[self.iCtrl]:
443 self.time[self.iCtrl].SetValue(str(self.mn[self.iCtrl]))
450 if int(self.time[self.iCtrl].GetValue()) < self.mx[self.iCtrl]:
451 self.time[self.iCtrl].SetValue(str(int(self.time[self.iCtrl].GetValue()) + 1))
455 if int(self.time[self.iCtrl].GetValue()) > self.mn[self.iCtrl]:
456 self.time[self.iCtrl].SetValue(str(int(self.time[self.iCtrl].GetValue()) - 1))
473 self.time[0].SetValue(str(mbt[0]))
474 self.time[1].SetValue(str(mbt[1]))
475 self.time[2].SetValue(str(mbt[2]))
477 self.time[0].SetValue(str(self.mn[0]))
478 self.time[1].SetValue(str(self.mn[1]))
479 self.time[2].SetValue(str(self.mn[2]))
481 self.time[0].SetSelection(-1,-1)
482 self.time[1].SetSelection(-1,-1)
483 self.time[2].SetSelection(-1,-1)
488 ret = "%d:%d:%d" % (int(self.time[0].GetValue()), int(self.time[1].GetValue()), int(self.time[2].GetValue()))
490 ret = (int(self.time[0].GetValue()), int(self.time[1].GetValue()), int(self.time[2].GetValue()))
496 self.time[0].Enable(enable)
497 self.time[1].Enable(enable)
498 self.time[2].Enable(enable)
502 self.time[0].SetFocus()
521 self.time[0].SetHelpText(Lbl)
522 self.time[1].SetHelpText(Lbl)
523 self.time[2].SetHelpText(Lbl)
526 return int(self.time[0].GetValue())
529 return int(self.time[1].GetValue())
532 return int(self.time[2].GetValue())