phoenix_title wx.grid.GridStringTable

Simplest type of data table for a grid for small tables of strings that are stored in memory.

The number of rows and columns in the table can be specified initially but may also be changed later dynamically.


class_hierarchy Class Hierarchy

Inheritance diagram for class GridStringTable:

api Class API

class wx.grid.GridStringTable(object)

Possible constructors:

GridStringTable()

GridStringTable(numRows, numCols)

Simplest type of data table for a grid for small tables of strings that are stored in memory.


Methods

__init__(self, *args, **kw)

overload Overloaded Implementations:



__init__ (self)

Default constructor creates an empty table.



__init__ (self, numRows, numCols)

Constructor taking number of rows and columns.

Parameters
  • numRows (int) –

  • numCols (int) –





AppendCols(self, numCols=1)
Parameters

numCols (int) –

Return type

bool



AppendRows(self, numRows=1)
Parameters

numRows (int) –

Return type

bool



Clear(self)


DeleteCols(self, pos=0, numCols=1)
Parameters
  • pos (int) –

  • numCols (int) –

Return type

bool



DeleteRows(self, pos=0, numRows=1)
Parameters
  • pos (int) –

  • numRows (int) –

Return type

bool



GetColLabelValue(self, col)
Parameters

col (int) –

Return type

string



GetCornerLabelValue(self)
Return type

string



GetNumberCols(self)
Return type

int



GetNumberRows(self)
Return type

int



GetRowLabelValue(self, row)
Parameters

row (int) –

Return type

string



GetValue(self, row, col)
Parameters
  • row (int) –

  • col (int) –

Return type

string



InsertCols(self, pos=0, numCols=1)
Parameters
  • pos (int) –

  • numCols (int) –

Return type

bool



InsertRows(self, pos=0, numRows=1)
Parameters
  • pos (int) –

  • numRows (int) –

Return type

bool



SetColLabelValue(self, col)
Parameters
  • col (int) –

  • `` (string) –



SetCornerLabelValue(self)
Parameters

`` (string) –



SetRowLabelValue(self, row)
Parameters
  • row (int) –

  • `` (string) –



SetValue(self, row, col, s)
Parameters
  • row (int) –

  • col (int) –

  • s (string) –


Properties

CornerLabelValue

See GetCornerLabelValue and SetCornerLabelValue



NumberCols

See GetNumberCols



NumberRows

See GetNumberRows