-class wxGridCellCoordsPtr :
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def __del__(self,gridc=gridc):
- if self.thisown == 1 :
- gridc.delete_wxGridCellCoords(self)
- def GetRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_GetRow,(self,) + _args, _kwargs)
- return val
- def SetRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_SetRow,(self,) + _args, _kwargs)
- return val
- def GetCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_GetCol,(self,) + _args, _kwargs)
- return val
- def SetCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_SetCol,(self,) + _args, _kwargs)
- return val
- def Set(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_Set,(self,) + _args, _kwargs)
- return val
- def asTuple(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords_asTuple,(self,) + _args, _kwargs)
- return val
- def __cmp__(self, *_args, **_kwargs):
- val = apply(gridc.wxGridCellCoords___cmp__,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxGridCellCoords instance at %s>" % (self.this,)
- def __str__(self): return str(self.asTuple())
- def __repr__(self): return str(self.asTuple())
-class wxGridCellCoords(wxGridCellCoordsPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGridCellCoords,_args,_kwargs)
- self.thisown = 1
-
-
-
-
-class wxGridPtr(wxScrolledWindowPtr):
- wxGridSelectCells = gridc.wxGrid_wxGridSelectCells
- wxGridSelectRows = gridc.wxGrid_wxGridSelectRows
- wxGridSelectColumns = gridc.wxGrid_wxGridSelectColumns
- def __init__(self,this):
- self.this = this
- self.thisown = 0
- def CreateGrid(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CreateGrid,(self,) + _args, _kwargs)
- return val
- def SetSelectionMode(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetSelectionMode,(self,) + _args, _kwargs)
- return val
- def GetNumberRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetNumberRows,(self,) + _args, _kwargs)
- return val
- def GetNumberCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetNumberCols,(self,) + _args, _kwargs)
- return val
- def ProcessTableMessage(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_ProcessTableMessage,(self,) + _args, _kwargs)
- return val
- def GetTable(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetTable,(self,) + _args, _kwargs)
- return val
- def SetTable(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetTable,(self,) + _args, _kwargs)
- return val
- def ClearGrid(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_ClearGrid,(self,) + _args, _kwargs)
- return val
- def InsertRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_InsertRows,(self,) + _args, _kwargs)
- return val
- def AppendRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AppendRows,(self,) + _args, _kwargs)
- return val
- def DeleteRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DeleteRows,(self,) + _args, _kwargs)
- return val
- def InsertCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_InsertCols,(self,) + _args, _kwargs)
- return val
- def AppendCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AppendCols,(self,) + _args, _kwargs)
- return val
- def DeleteCols(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DeleteCols,(self,) + _args, _kwargs)
- return val
- def DrawCellHighlight(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DrawCellHighlight,(self,) + _args, _kwargs)
- return val
- def DrawTextRectangle(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DrawTextRectangle,(self,) + _args, _kwargs)
- return val
- def GetTextBoxSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetTextBoxSize,(self,) + _args, _kwargs)
- return val
- def BeginBatch(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_BeginBatch,(self,) + _args, _kwargs)
- return val
- def EndBatch(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EndBatch,(self,) + _args, _kwargs)
- return val
- def GetBatchCount(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetBatchCount,(self,) + _args, _kwargs)
- return val
- def ForceRefresh(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_ForceRefresh,(self,) + _args, _kwargs)
- return val
- def IsEditable(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsEditable,(self,) + _args, _kwargs)
- return val
- def EnableEditing(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableEditing,(self,) + _args, _kwargs)
- return val
- def EnableCellEditControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableCellEditControl,(self,) + _args, _kwargs)
- return val
- def DisableCellEditControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DisableCellEditControl,(self,) + _args, _kwargs)
- return val
- def CanEnableCellControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CanEnableCellControl,(self,) + _args, _kwargs)
- return val
- def IsCellEditControlEnabled(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsCellEditControlEnabled,(self,) + _args, _kwargs)
- return val
- def IsCellEditControlShown(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsCellEditControlShown,(self,) + _args, _kwargs)
- return val
- def IsCurrentCellReadOnly(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsCurrentCellReadOnly,(self,) + _args, _kwargs)
- return val
- def ShowCellEditControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_ShowCellEditControl,(self,) + _args, _kwargs)
- return val
- def HideCellEditControl(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_HideCellEditControl,(self,) + _args, _kwargs)
- return val
- def SaveEditControlValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SaveEditControlValue,(self,) + _args, _kwargs)
- return val
- def XYToCell(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_XYToCell,(self,) + _args, _kwargs)
- if val: val = wxGridCellCoordsPtr(val) ; val.thisown = 1
- return val
- def YToRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_YToRow,(self,) + _args, _kwargs)
- return val
- def XToCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_XToCol,(self,) + _args, _kwargs)
- return val
- def YToEdgeOfRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_YToEdgeOfRow,(self,) + _args, _kwargs)
- return val
- def XToEdgeOfCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_XToEdgeOfCol,(self,) + _args, _kwargs)
- return val
- def CellToRect(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CellToRect,(self,) + _args, _kwargs)
- if val: val = wxRectPtr(val) ; val.thisown = 1
- return val
- def GetGridCursorRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridCursorRow,(self,) + _args, _kwargs)
- return val
- def GetGridCursorCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridCursorCol,(self,) + _args, _kwargs)
- return val
- def IsVisible(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsVisible,(self,) + _args, _kwargs)
- return val
- def MakeCellVisible(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MakeCellVisible,(self,) + _args, _kwargs)
- return val
- def SetGridCursor(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetGridCursor,(self,) + _args, _kwargs)
- return val
- def MoveCursorUp(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorUp,(self,) + _args, _kwargs)
- return val
- def MoveCursorDown(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorDown,(self,) + _args, _kwargs)
- return val
- def MoveCursorLeft(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorLeft,(self,) + _args, _kwargs)
- return val
- def MoveCursorRight(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorRight,(self,) + _args, _kwargs)
- return val
- def MovePageDown(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MovePageDown,(self,) + _args, _kwargs)
- return val
- def MovePageUp(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MovePageUp,(self,) + _args, _kwargs)
- return val
- def MoveCursorUpBlock(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorUpBlock,(self,) + _args, _kwargs)
- return val
- def MoveCursorDownBlock(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorDownBlock,(self,) + _args, _kwargs)
- return val
- def MoveCursorLeftBlock(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorLeftBlock,(self,) + _args, _kwargs)
- return val
- def MoveCursorRightBlock(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_MoveCursorRightBlock,(self,) + _args, _kwargs)
- return val
- def GetDefaultRowLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultRowLabelSize,(self,) + _args, _kwargs)
- return val
- def GetRowLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetRowLabelSize,(self,) + _args, _kwargs)
- return val
- def GetDefaultColLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultColLabelSize,(self,) + _args, _kwargs)
- return val
- def GetColLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetColLabelSize,(self,) + _args, _kwargs)
- return val
- def GetLabelBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetLabelBackgroundColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetLabelTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetLabelTextColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetLabelFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetLabelFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val) ; val.thisown = 1
- return val
- def GetRowLabelAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetRowLabelAlignment,(self,) + _args, _kwargs)
- return val
- def GetColLabelAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetColLabelAlignment,(self,) + _args, _kwargs)
- return val
- def GetRowLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetRowLabelValue,(self,) + _args, _kwargs)
- return val
- def GetColLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetColLabelValue,(self,) + _args, _kwargs)
- return val
- def GetGridLineColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridLineColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetCellHighlightColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellHighlightColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetCellHighlightPenWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellHighlightPenWidth,(self,) + _args, _kwargs)
- return val
- def GetCellHighlightROPenWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellHighlightROPenWidth,(self,) + _args, _kwargs)
- return val
- def SetRowLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowLabelSize,(self,) + _args, _kwargs)
- return val
- def SetColLabelSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColLabelSize,(self,) + _args, _kwargs)
- return val
- def SetLabelBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetLabelBackgroundColour,(self,) + _args, _kwargs)
- return val
- def SetLabelTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetLabelTextColour,(self,) + _args, _kwargs)
- return val
- def SetLabelFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetLabelFont,(self,) + _args, _kwargs)
- return val
- def SetRowLabelAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowLabelAlignment,(self,) + _args, _kwargs)
- return val
- def SetColLabelAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColLabelAlignment,(self,) + _args, _kwargs)
- return val
- def SetRowLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowLabelValue,(self,) + _args, _kwargs)
- return val
- def SetColLabelValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColLabelValue,(self,) + _args, _kwargs)
- return val
- def SetGridLineColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetGridLineColour,(self,) + _args, _kwargs)
- return val
- def SetCellHighlightColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellHighlightColour,(self,) + _args, _kwargs)
- return val
- def SetCellHighlightPenWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellHighlightPenWidth,(self,) + _args, _kwargs)
- return val
- def SetCellHighlightROPenWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellHighlightROPenWidth,(self,) + _args, _kwargs)
- return val
- def EnableDragRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableDragRowSize,(self,) + _args, _kwargs)
- return val
- def DisableDragRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DisableDragRowSize,(self,) + _args, _kwargs)
- return val
- def CanDragRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CanDragRowSize,(self,) + _args, _kwargs)
- return val
- def EnableDragColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableDragColSize,(self,) + _args, _kwargs)
- return val
- def DisableDragColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DisableDragColSize,(self,) + _args, _kwargs)
- return val
- def CanDragColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CanDragColSize,(self,) + _args, _kwargs)
- return val
- def EnableDragGridSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableDragGridSize,(self,) + _args, _kwargs)
- return val
- def DisableDragGridSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_DisableDragGridSize,(self,) + _args, _kwargs)
- return val
- def CanDragGridSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_CanDragGridSize,(self,) + _args, _kwargs)
- return val
- def SetRowAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowAttr,(self,) + _args, _kwargs)
- return val
- def SetColAttr(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColAttr,(self,) + _args, _kwargs)
- return val
- def SetColFormatBool(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColFormatBool,(self,) + _args, _kwargs)
- return val
- def SetColFormatNumber(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColFormatNumber,(self,) + _args, _kwargs)
- return val
- def SetColFormatFloat(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColFormatFloat,(self,) + _args, _kwargs)
- return val
- def SetColFormatCustom(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColFormatCustom,(self,) + _args, _kwargs)
- return val
- def EnableGridLines(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_EnableGridLines,(self,) + _args, _kwargs)
- return val
- def GridLinesEnabled(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GridLinesEnabled,(self,) + _args, _kwargs)
- return val
- def GetDefaultRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultRowSize,(self,) + _args, _kwargs)
- return val
- def GetRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetRowSize,(self,) + _args, _kwargs)
- return val
- def GetDefaultColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultColSize,(self,) + _args, _kwargs)
- return val
- def GetColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetColSize,(self,) + _args, _kwargs)
- return val
- def GetDefaultCellBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultCellBackgroundColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetCellBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellBackgroundColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetDefaultCellTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultCellTextColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetCellTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellTextColour,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetDefaultCellFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultCellFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val) ; val.thisown = 1
- return val
- def GetCellFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellFont,(self,) + _args, _kwargs)
- if val: val = wxFontPtr(val) ; val.thisown = 1
- return val
- def GetDefaultCellAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultCellAlignment,(self,) + _args, _kwargs)
- return val
- def GetCellAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellAlignment,(self,) + _args, _kwargs)
- return val
- def SetDefaultRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultRowSize,(self,) + _args, _kwargs)
- return val
- def SetRowSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowSize,(self,) + _args, _kwargs)
- return val
- def SetDefaultColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultColSize,(self,) + _args, _kwargs)
- return val
- def SetColSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColSize,(self,) + _args, _kwargs)
- return val
- def AutoSizeColumn(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AutoSizeColumn,(self,) + _args, _kwargs)
- return val
- def AutoSizeRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AutoSizeRow,(self,) + _args, _kwargs)
- return val
- def AutoSizeColumns(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AutoSizeColumns,(self,) + _args, _kwargs)
- return val
- def AutoSizeRows(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AutoSizeRows,(self,) + _args, _kwargs)
- return val
- def AutoSize(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_AutoSize,(self,) + _args, _kwargs)
- return val
- def SetColMinimalWidth(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetColMinimalWidth,(self,) + _args, _kwargs)
- return val
- def SetRowMinimalHeight(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetRowMinimalHeight,(self,) + _args, _kwargs)
- return val
- def SetDefaultCellBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultCellBackgroundColour,(self,) + _args, _kwargs)
- return val
- def SetCellBackgroundColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellBackgroundColour,(self,) + _args, _kwargs)
- return val
- def SetDefaultCellTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultCellTextColour,(self,) + _args, _kwargs)
- return val
- def SetCellTextColour(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellTextColour,(self,) + _args, _kwargs)
- return val
- def SetDefaultCellFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultCellFont,(self,) + _args, _kwargs)
- return val
- def SetCellFont(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellFont,(self,) + _args, _kwargs)
- return val
- def SetDefaultCellAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultCellAlignment,(self,) + _args, _kwargs)
- return val
- def SetCellAlignment(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellAlignment,(self,) + _args, _kwargs)
- return val
- def SetDefaultRenderer(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultRenderer,(self,) + _args, _kwargs)
- return val
- def SetCellRenderer(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellRenderer,(self,) + _args, _kwargs)
- return val
- def GetDefaultRenderer(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultRenderer,(self,) + _args, _kwargs)
- if val: val = wxGridCellRendererPtr(val)
- return val
- def GetCellRenderer(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellRenderer,(self,) + _args, _kwargs)
- if val: val = wxGridCellRendererPtr(val)
- return val
- def SetDefaultEditor(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetDefaultEditor,(self,) + _args, _kwargs)
- return val
- def SetCellEditor(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellEditor,(self,) + _args, _kwargs)
- return val
- def GetDefaultEditor(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultEditor,(self,) + _args, _kwargs)
- if val: val = wxGridCellEditorPtr(val)
- return val
- def GetCellEditor(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellEditor,(self,) + _args, _kwargs)
- if val: val = wxGridCellEditorPtr(val)
- return val
- def GetCellValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetCellValue,(self,) + _args, _kwargs)
- return val
- def SetCellValue(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetCellValue,(self,) + _args, _kwargs)
- return val
- def IsReadOnly(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsReadOnly,(self,) + _args, _kwargs)
- return val
- def SetReadOnly(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetReadOnly,(self,) + _args, _kwargs)
- return val
- def SelectRow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SelectRow,(self,) + _args, _kwargs)
- return val
- def SelectCol(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SelectCol,(self,) + _args, _kwargs)
- return val
- def SelectBlock(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SelectBlock,(self,) + _args, _kwargs)
- return val
- def SelectAll(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SelectAll,(self,) + _args, _kwargs)
- return val
- def IsSelection(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsSelection,(self,) + _args, _kwargs)
- return val
- def ClearSelection(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_ClearSelection,(self,) + _args, _kwargs)
- return val
- def IsInSelection(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_IsInSelection,(self,) + _args, _kwargs)
- return val
- def BlockToDeviceRect(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_BlockToDeviceRect,(self,) + _args, _kwargs)
- if val: val = wxRectPtr(val) ; val.thisown = 1
- return val
- def GetSelectionBackground(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetSelectionBackground,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def GetSelectionForeground(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetSelectionForeground,(self,) + _args, _kwargs)
- if val: val = wxColourPtr(val) ; val.thisown = 1
- return val
- def SetSelectionBackground(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetSelectionBackground,(self,) + _args, _kwargs)
- return val
- def SetSelectionForeground(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetSelectionForeground,(self,) + _args, _kwargs)
- return val
- def RegisterDataType(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_RegisterDataType,(self,) + _args, _kwargs)
- return val
- def GetDefaultEditorForCell(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultEditorForCell,(self,) + _args, _kwargs)
- if val: val = wxGridCellEditorPtr(val)
- return val
- def GetDefaultRendererForCell(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultRendererForCell,(self,) + _args, _kwargs)
- if val: val = wxGridCellRendererPtr(val)
- return val
- def GetDefaultEditorForType(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultEditorForType,(self,) + _args, _kwargs)
- if val: val = wxGridCellEditorPtr(val)
- return val
- def GetDefaultRendererForType(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetDefaultRendererForType,(self,) + _args, _kwargs)
- if val: val = wxGridCellRendererPtr(val)
- return val
- def SetMargins(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_SetMargins,(self,) + _args, _kwargs)
- return val
- def GetGridWindow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridWindow,(self,) + _args, _kwargs)
- return val
- def GetGridRowLabelWindow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridRowLabelWindow,(self,) + _args, _kwargs)
- return val
- def GetGridColLabelWindow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridColLabelWindow,(self,) + _args, _kwargs)
- return val
- def GetGridCornerLabelWindow(self, *_args, **_kwargs):
- val = apply(gridc.wxGrid_GetGridCornerLabelWindow,(self,) + _args, _kwargs)
- return val
- def __repr__(self):
- return "<C wxGrid instance at %s>" % (self.this,)
-class wxGrid(wxGridPtr):
- def __init__(self,*_args,**_kwargs):
- self.this = apply(gridc.new_wxGrid,_args,_kwargs)
- self.thisown = 1
- self._setOORInfo(self)