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)
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)
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)
def _on_configure_pane(self, sash_index): x, y = Tk_PanedWindow.sash_coord(self, sash_index) self._handle_list[sash_index].place(x=x)
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)
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)