X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f05326bac1f28170999fcfd22234335c7d02dd8c..7e664d85e6512d807ce2eb186ed9e0bbd60d6e8b:/wxPython/src/msw/grid.py diff --git a/wxPython/src/msw/grid.py b/wxPython/src/msw/grid.py index af7897e18c..1b74ef21d0 100644 --- a/wxPython/src/msw/grid.py +++ b/wxPython/src/msw/grid.py @@ -1273,7 +1273,7 @@ class Grid(_windows.ScrolledWindow): return _grid.Grid_YToRow(*args, **kwargs) def XToCol(*args, **kwargs): - """XToCol(self, int x) -> int""" + """XToCol(self, int x, bool clipToMinMax=False) -> int""" return _grid.Grid_XToCol(*args, **kwargs) def YToEdgeOfRow(*args, **kwargs): @@ -1492,6 +1492,18 @@ class Grid(_windows.ScrolledWindow): """CanDragColSize(self) -> bool""" return _grid.Grid_CanDragColSize(*args, **kwargs) + def EnableDragColMove(*args, **kwargs): + """EnableDragColMove(self, bool enable=True)""" + return _grid.Grid_EnableDragColMove(*args, **kwargs) + + def DisableDragColMove(*args, **kwargs): + """DisableDragColMove(self)""" + return _grid.Grid_DisableDragColMove(*args, **kwargs) + + def CanDragColMove(*args, **kwargs): + """CanDragColMove(self) -> bool""" + return _grid.Grid_CanDragColMove(*args, **kwargs) + def EnableDragGridSize(*args, **kwargs): """EnableDragGridSize(self, bool enable=True)""" return _grid.Grid_EnableDragGridSize(*args, **kwargs) @@ -1632,6 +1644,18 @@ class Grid(_windows.ScrolledWindow): """SetColSize(self, int col, int width)""" return _grid.Grid_SetColSize(*args, **kwargs) + def GetColAt(*args, **kwargs): + """GetColAt(self, int colPos) -> int""" + return _grid.Grid_GetColAt(*args, **kwargs) + + def SetColPos(*args, **kwargs): + """SetColPos(self, int colID, int newPos)""" + return _grid.Grid_SetColPos(*args, **kwargs) + + def GetColPos(*args, **kwargs): + """GetColPos(self, int colID) -> int""" + return _grid.Grid_GetColPos(*args, **kwargs) + def AutoSizeColumn(*args, **kwargs): """AutoSizeColumn(self, int col, bool setAsMin=True)""" return _grid.Grid_AutoSizeColumn(*args, **kwargs)