phoenix_title wx.HeaderColumn

Represents a column header in controls displaying tabular data such as wx.dataview.DataViewCtrl or wx.grid.Grid.

Notice that this is an abstract base class which is implemented (usually using the information stored in the associated control) by the different controls using wx.HeaderCtrl. As the control only needs to retrieve the information about the column, this class defines only the methods for accessing the various column properties but not for changing them as the setters might not be needed at all, e.g. if the column attributes can only be changed via the methods of the main associated control (this is the case for wx.grid.Grid for example). If you do want to allow changing them directly using the column itself, you should inherit from wx.SettableHeaderColumn instead of this class.

Finally, if you don’t already store the column information at all anywhere, you should use the concrete wx.HeaderColumnSimple class and wx.HeaderCtrlSimple.


class_hierarchy Class Hierarchy

Inheritance diagram for class HeaderColumn:

sub_classes Known Subclasses

wx.SettableHeaderColumn