def start_timer(self, pobj, data):
     if self.fd_form.timer_id:
         xfl.fl_remove_timeout(self.fd_form.timer_id)
     self.fd_form.ldata += 200
     buf = "Timer accuracy testing %.3f sec ..." % \
             float(self.fd_form.ldata * 0.001)
     xfl.fl_set_object_label(self.fd_form.report, buf)
     self.start_sec, self.start_usec = xfl.fl_gettime()
     self.fd_form.timer_id = xfl.fl_add_timeout(self.fd_form.ldata, \
             self.timer_cb, 0)
 def post_handler(self, pobj, event, mx, my, key, xev):
     if not pobj.contents.u_cdata:
         return 0
     if event == xfl.FL_ENTER:
         self.timeoutID = xfl.fl_add_timeout(self.INTERVAL, \
                 self.do_tips, pobj)
     elif event == xfl.FL_LEAVE or event == xfl.FL_PUSH:
         xfl.fl_hide_oneliner()
         if self.timeoutID:
             xfl.fl_remove_timeout(self.timeoutID)
             self.timeoutID = 0
     return 0