This class represents a column in a wx.dataview.DataViewCtrl.
One wx.dataview.DataViewColumn is bound to one column in the data model to which the wx.dataview.DataViewCtrl has been associated.
An instance of wx.dataview.DataViewRenderer is used by this class to render its data.
__init__ |
Constructs a text column. |
GetModelColumn |
Returns the index of the column of the model, which this wx.dataview.DataViewColumn is displaying. |
GetOwner |
Returns the owning wx.dataview.DataViewCtrl. |
GetRenderer |
Returns the renderer of this wx.dataview.DataViewColumn. |
Alignment |
See GetAlignment and SetAlignment |
Bitmap |
See GetBitmap and SetBitmap |
Flags |
See GetFlags and SetFlags |
MinWidth |
See GetMinWidth and SetMinWidth |
ModelColumn |
See GetModelColumn |
Owner |
See GetOwner |
Renderer |
See GetRenderer |
SortOrder |
See IsSortOrderAscending and SetSortOrder |
Title |
See GetTitle and SetTitle |
Width |
See GetWidth and SetWidth |
wx.dataview.
DataViewColumn
(SettableHeaderColumn)¶Possible constructors:
DataViewColumn(title, renderer, model_column, width=DVC_DEFAULT_WIDTH,
align=ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE)
DataViewColumn(bitmap, renderer, model_column, width=DVC_DEFAULT_WIDTH,
align=ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE)
This class represents a column in a DataViewCtrl.
__init__
(self, *args, **kw)¶__init__ (self, title, renderer, model_column, width=DVC_DEFAULT_WIDTH, align=ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE)
Constructs a text column.
Parameters: |
|
---|
__init__ (self, bitmap, renderer, model_column, width=DVC_DEFAULT_WIDTH, align=ALIGN_CENTER, flags=DATAVIEW_COL_RESIZABLE)
Constructs a bitmap column.
Parameters: |
|
---|
GetModelColumn
(self)¶Returns the index of the column of the model, which this wx.dataview.DataViewColumn is displaying.
Return type: | int |
---|
GetOwner
(self)¶Returns the owning wx.dataview.DataViewCtrl.
Return type: | wx.dataview.DataViewCtrl |
---|
GetRenderer
(self)¶Returns the renderer of this wx.dataview.DataViewColumn.
Return type: | wx.dataview.DataViewRenderer |
---|
See also
Alignment
¶See GetAlignment
and SetAlignment
MinWidth
¶See GetMinWidth
and SetMinWidth
ModelColumn
¶See GetModelColumn
Renderer
¶See GetRenderer
SortOrder
¶See IsSortOrderAscending
and SetSortOrder