Package wx :: Module grid
[frames | no frames]

Module wx.grid

Classes for implementing a spreadsheet-like control.
Classes
Grid  
GridCellAttr  
GridCellAttrProvider  
GridCellAutoWrapStringEditor  
GridCellAutoWrapStringRenderer  
GridCellBoolEditor  
GridCellBoolRenderer  
GridCellChoiceEditor  
GridCellCoords  
GridCellDateTimeRenderer  
GridCellEditor  
GridCellEnumEditor  
GridCellEnumRenderer  
GridCellFloatEditor  
GridCellFloatRenderer  
GridCellNumberEditor  
GridCellNumberRenderer  
GridCellRenderer  
GridCellStringRenderer  
GridCellTextEditor  
GridEditorCreatedEvent  
GridEvent  
GridRangeSelectEvent  
GridSizeEvent  
GridStringTable  
GridTableBase  
GridTableMessage  
PyGridCellAttrProvider  
PyGridCellEditor  
PyGridCellRenderer  
PyGridTableBase  

Function Summary
VisualAttributes Grid_GetClassDefaultAttributes(variant)
Get the default attributes for this class.
Grid PreGrid()

Function Details

Grid_GetClassDefaultAttributes(variant=WINDOW_VARIANT_NORMAL)

Get the default attributes for this class. This is useful if you want to use the same font or colour in your own control as in a standard control -- which is a much better idea than hard coding specific colours or fonts which might look completely out of place on the user's system, especially if it uses themes.

The variant parameter is only relevant under Mac currently and is ignore under other platforms. Under Mac, it will change the size of the returned font. See wx.Window.SetWindowVariant for more about this.

Parameters:
variant
           (type=int)
Returns:
VisualAttributes

Generated by Epydoc 2.1.20040428.rpd on Tue Nov 9 17:03:40 2004 http://epydoc.sf.net