]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/splitter.py
Patch #1547057: Disable grid lines in wx.lib.printout.PrintTable
[wxWidgets.git] / wxPython / wx / lib / splitter.py
index 68d3cfade37e59cfc577399348589177bb3a0e0f..6a819a41ac618a8f698a91dacae9a5e0e3a0e4f4 100644 (file)
@@ -209,6 +209,16 @@ class MultiSplitterWindow(wx.PyPanel):
         return self._sashes[idx]
 
 
+    def SetSashPosition(self, idx, pos):
+        """
+        Set the psition of the idx'th sash, measured from the left/top
+        of the window preceding the sash.
+        """
+        assert idx < len(self._sashes)
+        self._sashes[idx] = pos
+        self._SizeWindows()
+        
+
     def SizeWindows(self):
         """
         Reposition and size the windows managed by the splitter.