Exemplo n.º 1
0
 def _update_position_all_handles(self):
     for sash_index, handle in enumerate(self._handle_list):
         if self.ORIENT == VERTICAL:
             x, y = Tk_PanedWindow.sash_coord(self, sash_index)
             handle.place(y=y)
         else:
             x, y = Tk_PanedWindow.sash_coord(self, sash_index)
             handle.place(x=x)
Exemplo n.º 2
0
 def _update_position_all_handles(self):
     '''
     重载基类的相关方法
     :return: None
     '''
     for sash_index, handle in enumerate(self._handle_list):
         x, y = Tk_PanedWindow.sash_coord(self, sash_index)
         handle.place(y=y)
Exemplo n.º 3
0
 def _on_configure_pane(self, sash_index):
     '''
     重载基类的相关方法
     :param sash_index:
     :return: None
     '''
     x, y = Tk_PanedWindow.sash_coord(self, sash_index)
     self._handle_list[sash_index].place(y=y)
Exemplo n.º 4
0
 def _on_configure_pane(self, sash_index):
     x, y = Tk_PanedWindow.sash_coord(self, sash_index)
     self._handle_list[sash_index].place(x=x)
Exemplo n.º 5
0
 def _update_position_all_handles(self):
     for sash_index, handle in enumerate(self._handle_list):
         x, y = Tk_PanedWindow.sash_coord(self, sash_index)
         handle.place(x=x)
Exemplo n.º 6
0
 def _on_configure_pane(self, sash_index):
     x, y = Tk_PanedWindow.sash_coord(self, sash_index)
     if self.ORIENT == VERTICAL:
         self._handle_list[sash_index].place(y=y)
     else:
         self._handle_list[sash_index].place(x=x)