GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing docs.wxpython.org — wx.grid.GridUpdateLocker — wxPython 4.3.2 Docs
|
Creates an object preventing the updates of the specified grid. |
|
This method can be called if the object had been constructed using the default constructor. |
|
Class API¶Possible constructors:
GridUpdateLocker(grid=None) -> None
This small class can be used to prevent Grid from redrawing during its lifetime by calling Grid.BeginBatch() in its constructor and Grid.EndBatch() in its destructor.
Creates an object preventing the updates of the specified grid.
The parameter could be nullptr in which case nothing is done. If grid is non-null then the grid must exist for longer than this wx.grid.GridUpdateLocker object itself.
The default constructor could be followed by a call to Create to set the grid object later.
grid (wx.grid.Grid)
None
This method can be called if the object had been constructed using the default constructor.
It must not be called more than once.
grid (wx.grid.Grid)
None