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)
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. |
See |
|
See |
|
See |
|
wx.
HeaderColumnSimple
(SettableHeaderColumn)¶Possible constructors:
HeaderColumnSimple(title : str, width: int=COL_WIDTH_DEFAULT, align:
Alignment=ALIGN_NOT, flags: int=COL_DEFAULT_FLAGS) -> None
HeaderColumnSimple(bitmap : BitmapBundle, width: int=COL_WIDTH_DEFAULT,
align: Alignment=ALIGN_CENTER, flags: int=COL_DEFAULT_FLAGS) -> None
Simple container for the information about the column.
__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 : str, width: int=COL_WIDTH_DEFAULT, align: Alignment=ALIGN_NOT, flags: int=COL_DEFAULT_FLAGS)
title (string) –
width (int) –
align (Alignment) –
flags (int) –
None
__init__ (self, bitmap : BitmapBundle, width: int=COL_WIDTH_DEFAULT, align: Alignment=ALIGN_CENTER, flags: int=COL_DEFAULT_FLAGS)
bitmap (wx.BitmapBundle) –
width (int) –
align (Alignment) –
flags (int) –
None
GetAlignment
(self)¶Trivial implementations of the base class pure virtual functions.
GetBitmap
(self)¶Trivial implementations of the base class pure virtual functions.
GetBitmapBundle
(self)¶Trivial implementations of the base class pure virtual functions.
GetFlags
(self)¶Trivial implementations of the base class pure virtual functions.
int
GetMinWidth
(self)¶Trivial implementations of the base class pure virtual functions.
int
GetTitle
(self)¶Trivial implementations of the base class pure virtual functions.
str
GetWidth
(self)¶Trivial implementations of the base class pure virtual functions.
int
IsSortKey
(self)¶Trivial implementations of the base class pure virtual functions.
bool
IsSortOrderAscending
(self)¶Trivial implementations of the base class pure virtual functions.
bool
SetAlignment
(self, align : Alignment)¶Trivial implementations of the base class pure virtual functions.
align (Alignment) –
None
SetBitmap
(self, bitmap : BitmapBundle)¶Trivial implementations of the base class pure virtual functions.
bitmap (wx.BitmapBundle) –
None
SetFlags
(self, flags : int)¶Trivial implementations of the base class pure virtual functions.
flags (int) –
None
SetMinWidth
(self, minWidth : int)¶Trivial implementations of the base class pure virtual functions.
minWidth (int) –
None
SetSortOrder
(self, ascending : bool)¶Trivial implementations of the base class pure virtual functions.
ascending (bool) –
None
SetTitle
(self, title : str)¶Trivial implementations of the base class pure virtual functions.
title (string) –
None
SetWidth
(self, width : int)¶Trivial implementations of the base class pure virtual functions.
width (int) –
None
Alignment
¶See GetAlignment
and SetAlignment
BitmapBundle
¶See GetBitmapBundle
MinWidth
¶See GetMinWidth
and SetMinWidth