wx.HeaderColumnSimple¶
Simple container for the information about the column.
This is a concrete class implementing all wx.SettableHeaderColumn class methods in a trivial way, i.e. by just storing the information in the object itself. It is used by and with wx.HeaderCtrlSimple, e.g.
header = wx.HeaderCtrlSimple() # Fill in the constructor
col = wx.HeaderColumnSimple("Title")
col.SetWidth(100)
col.SetSortable(100)
header.AppendColumn(col)
Class Hierarchy¶
Methods Summary¶
Constructor for a column header. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
|
Trivial implementations of the base class pure virtual functions. |
Properties Summary¶
See |
|
See |
|
See |
|
Class API¶
- class wx.HeaderColumnSimple(SettableHeaderColumn)¶
Possible constructors:
HeaderColumnSimple(title, width=COL_WIDTH_DEFAULT, align=ALIGN_NOT, flags=COL_DEFAULT_FLAGS) -> None HeaderColumnSimple(bitmap, width=COL_WIDTH_DEFAULT, align=ALIGN_CENTER, flags=COL_DEFAULT_FLAGS) -> None
Simple container for the information about the column.
Methods¶
- __init__(self, *args, **kw)¶
Constructor for a column header.
The first constructor creates a header showing the given text title while the second one creates one showing the specified bitmap image.
__init__ (self, title, width=COL_WIDTH_DEFAULT, align=ALIGN_NOT, flags=COL_DEFAULT_FLAGS)
- Parameters:
title (string)
width (int)
align (Alignment)
flags (int)
- Return type:
None
__init__ (self, bitmap, width=COL_WIDTH_DEFAULT, align=ALIGN_CENTER, flags=COL_DEFAULT_FLAGS)
- Parameters:
bitmap (wx.BitmapBundle)
width (int)
align (Alignment)
flags (int)
- Return type:
None
- GetAlignment(self)¶
Trivial implementations of the base class pure virtual functions.
- Return type:
- GetBitmap(self)¶
Trivial implementations of the base class pure virtual functions.
- Return type:
- GetBitmapBundle(self)¶
Trivial implementations of the base class pure virtual functions.
- Return type:
- GetFlags(self)¶
Trivial implementations of the base class pure virtual functions.
- Return type:
int
- GetMinWidth(self)¶
Trivial implementations of the base class pure virtual functions.
- Return type:
int
- GetTitle(self)¶
Trivial implementations of the base class pure virtual functions.
- Return type:
str
- GetWidth(self)¶
Trivial implementations of the base class pure virtual functions.
- Return type:
int
- IsSortKey(self)¶
Trivial implementations of the base class pure virtual functions.
- Return type:
bool
- IsSortOrderAscending(self)¶
Trivial implementations of the base class pure virtual functions.
- Return type:
bool
- SetAlignment(self, align)¶
Trivial implementations of the base class pure virtual functions.
- Parameters:
align (Alignment)
- Return type:
None
- SetBitmap(self, bitmap)¶
Trivial implementations of the base class pure virtual functions.
- Parameters:
bitmap (wx.BitmapBundle)
- Return type:
None
- SetFlags(self, flags)¶
Trivial implementations of the base class pure virtual functions.
- Parameters:
flags (int)
- Return type:
None
- SetMinWidth(self, minWidth)¶
Trivial implementations of the base class pure virtual functions.
- Parameters:
minWidth (int)
- Return type:
None
- SetSortOrder(self, ascending)¶
Trivial implementations of the base class pure virtual functions.
- Parameters:
ascending (bool)
- Return type:
None
- SetTitle(self, title)¶
Trivial implementations of the base class pure virtual functions.
- Parameters:
title (string)
- Return type:
None
- SetWidth(self, width)¶
Trivial implementations of the base class pure virtual functions.
- Parameters:
width (int)
- Return type:
None
Properties¶
- Alignment¶
See
GetAlignment
andSetAlignment
- BitmapBundle¶
See
GetBitmapBundle
- MinWidth¶
See
GetMinWidth
andSetMinWidth