Exemplo n.º 1
0
 def _refresh_ddlf_lift(self):
     if self._ddlf._lift:
         functions.remove_element(self._ddlf._lift)
     if self._ddlf.get_family_rect().height > self._ddlf.get_fus_rect(
     ).height:
         self._ddlf.add_lift()
     functions.refresh_current_menu()
Exemplo n.º 2
0
 def refresh_lift(self):
     """Refresh current lift. Removes lift if not needed. Add lift if needed.
     """
     if self._lift:
         functions.remove_element(self._lift)
     if self.get_family_rect().height > self.get_fus_rect().height:
         self.add_lift()
     functions.refresh_current_menu()
Exemplo n.º 3
0
 def refresh_lift(self):
     """Refresh current lift. Removes lift if not needed. Add lift if needed.
     """
     if self._lift:
         functions.remove_element(self._lift)
         self._lift = None  #temporary. Does it really work?
     if self.get_family_rect().height > self.get_fus_rect().height:
         self.add_lift()
     functions.refresh_current_menu()
Exemplo n.º 4
0
 def _refresh_ddlf_lift(self):
     if self._ddlf._lift:
         functions.remove_element(self._ddlf._lift)
     if self._ddlf.get_family_rect().height > self._ddlf.get_fus_rect().height:
         self._ddlf.add_lift()
     functions.refresh_current_menu()