X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2dc104421c340091342156d6b01f61f1ccff438..980f458f7f034a21501d4bde7bc6f49d29a1a941:/wxPython/src/gtk/grid.py?ds=inline diff --git a/wxPython/src/gtk/grid.py b/wxPython/src/gtk/grid.py index 79aaf7c929..7fb1c31639 100644 --- a/wxPython/src/gtk/grid.py +++ b/wxPython/src/gtk/grid.py @@ -1224,6 +1224,10 @@ class Grid(windows.ScrolledWindow): wxGridSelectCells = _grid.Grid_wxGridSelectCells wxGridSelectRows = _grid.Grid_wxGridSelectRows wxGridSelectColumns = _grid.Grid_wxGridSelectColumns + SelectCells = wxGridSelectCells + SelectRows = wxGridSelectRows + SelectColumns = wxGridSelectColumns, + def CreateGrid(*args, **kwargs): """CreateGrid(int numRows, int numCols, WXGRIDSELECTIONMODES selmode=wxGridSelectCells) -> bool""" return _grid.Grid_CreateGrid(*args, **kwargs) @@ -1316,7 +1320,13 @@ class Grid(windows.ScrolledWindow): return _grid.Grid_ForceRefresh(*args, **kwargs) def Refresh(*args, **kwargs): - """Refresh(bool eraseb=True, Rect rect=None)""" + """ + Refresh(bool eraseb=True, Rect rect=None) + + Mark the specified rectangle (or the whole window) as "dirty" so it + will be repainted. Causes an EVT_PAINT event to be generated and sent + to the window. + """ return _grid.Grid_Refresh(*args, **kwargs) def IsEditable(*args, **kwargs):