예제 #1
0
 def on_parent(self, *a):
     if self.parent is None:
         infolabel.remove_info_on_mouse()
     return super(HoverInfoBehavior, self).on_parent(*a)
예제 #2
0
 def on_hover(self, *a):
     if self.hover:
         Clock.schedule_once(self.show_label_info, 1)
     else:
         Clock.unschedule(self.show_label_info)
         infolabel.remove_info_on_mouse()
예제 #3
0
 def on_parent(self, *a):
     if self.parent is None:
         infolabel.remove_info_on_mouse()
     return super(TabToggleButton, self).on_parent(*a)