Document missing wxGrid methods
Add documentation for the previously undocumented IsCellEditControlShown(), Deselect{Col,Row,Cell}() and SetAttr().
This commit is contained in:
@@ -2807,6 +2807,13 @@ public:
|
|||||||
*/
|
*/
|
||||||
bool IsCellEditControlEnabled() const;
|
bool IsCellEditControlEnabled() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
Returns @true if the in-place edit control is currently shown.
|
||||||
|
|
||||||
|
@see HideCellEditControl()
|
||||||
|
*/
|
||||||
|
bool IsCellEditControlShown() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns @true if the current cell is read-only.
|
Returns @true if the current cell is read-only.
|
||||||
|
|
||||||
@@ -3763,6 +3770,21 @@ public:
|
|||||||
*/
|
*/
|
||||||
void ClearSelection();
|
void ClearSelection();
|
||||||
|
|
||||||
|
/**
|
||||||
|
Deselects a row of cells.
|
||||||
|
*/
|
||||||
|
void DeselectRow( int row );
|
||||||
|
|
||||||
|
/**
|
||||||
|
Deselects a column of cells.
|
||||||
|
*/
|
||||||
|
void DeselectCol( int col );
|
||||||
|
|
||||||
|
/**
|
||||||
|
Deselects a cell.
|
||||||
|
*/
|
||||||
|
void DeselectCell( int row, int col );
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Returns an array of individually selected cells.
|
Returns an array of individually selected cells.
|
||||||
|
|
||||||
@@ -4394,6 +4416,16 @@ public:
|
|||||||
const wxGridCellCoords& bottomRight = wxGridCellCoords( -1, -1 ),
|
const wxGridCellCoords& bottomRight = wxGridCellCoords( -1, -1 ),
|
||||||
int style = wxGRID_DRAW_DEFAULT );
|
int style = wxGRID_DRAW_DEFAULT );
|
||||||
|
|
||||||
|
/**
|
||||||
|
Sets the cell attributes for the specified cell.
|
||||||
|
|
||||||
|
The grid takes ownership of the attribute pointer.
|
||||||
|
|
||||||
|
See the wxGridCellAttr class for more information about controlling
|
||||||
|
cell attributes.
|
||||||
|
*/
|
||||||
|
void SetAttr(int row, int col, wxGridCellAttr *attr);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Sets the cell attributes for all cells in the specified column.
|
Sets the cell attributes for all cells in the specified column.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user