grid Package

grid Package

api Module

checkbox_image_renderer Module

checkbox_renderer Module

combobox_focus_handler Module

Workaround for combobox focus problem in wx 2.6.

class pyface.ui.wx.grid.combobox_focus_handler.ComboboxFocusHandler(grid)

Bases: wx._core.EvtHandler

composite_grid_model Module

edit_image_renderer Module

edit_renderer Module

grid Module

grid_cell_image_renderer Module

A renderer which will display a cell-specific image in addition to some text displayed in the same way the standard string renderer normally would.

class pyface.ui.wx.grid.grid_cell_image_renderer.GridCellImageRenderer(provider=None)

Bases: wx.grid.PyGridCellRenderer

A renderer which will display a cell-specific image in addition to some text displayed in the same way the standard string renderer normally would.

Clone()
Draw(grid, attr, dc, rect, row, col, isSelected)

Draw the appropriate icon into the specified grid cell.

GetBestSize(grid, attr, dc, row, col)

Determine best size for the cell.

grid_cell_renderer Module

grid_model Module

inverted_grid_model Module

mapped_grid_cell_image_renderer Module

A renderer which will display a cell-specific image in addition to some text displayed in the same way the standard string renderer normally would, all data retrieved from specified value maps.

class pyface.ui.wx.grid.mapped_grid_cell_image_renderer.MappedGridCellImageRenderer(image_map=None, text_map=None)

Bases: pyface.ui.wx.grid.grid_cell_image_renderer.GridCellImageRenderer

Maps data values to image and text.

get_image_for_cell(grid, row, col)
get_text_for_cell(grid, row, col)

simple_grid_model Module

trait_grid_cell_adapter Module

trait_grid_model Module