phoenix_title 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 Class Hierarchy

Inheritance diagram for class HeaderColumnSimple:

method_summary Methods Summary

__init__

Constructor for a column header.

GetAlignment

Trivial implementations of the base class pure virtual functions.

GetBitmap

Trivial implementations of the base class pure virtual functions.

GetFlags

Trivial implementations of the base class pure virtual functions.

GetMinWidth

Trivial implementations of the base class pure virtual functions.

GetTitle

Trivial implementations of the base class pure virtual functions.

GetWidth

Trivial implementations of the base class pure virtual functions.

IsSortKey

Trivial implementations of the base class pure virtual functions.

IsSortOrderAscending

Trivial implementations of the base class pure virtual functions.

SetAlignment

Trivial implementations of the base class pure virtual functions.

SetBitmap

Trivial implementations of the base class pure virtual functions.

SetFlags

Trivial implementations of the base class pure virtual functions.

SetMinWidth

Trivial implementations of the base class pure virtual functions.

SetSortOrder

Trivial implementations of the base class pure virtual functions.

SetTitle

Trivial implementations of the base class pure virtual functions.

SetWidth

Trivial implementations of the base class pure virtual functions.


property_summary Properties Summary

Alignment

See GetAlignment and SetAlignment

Bitmap

See GetBitmap and SetBitmap

Flags

See GetFlags and SetFlags

MinWidth

See GetMinWidth and SetMinWidth

Title

See GetTitle and SetTitle

Width

See GetWidth and SetWidth


api Class API

class wx.HeaderColumnSimple(SettableHeaderColumn)

Possible constructors:

HeaderColumnSimple(title, width=COL_WIDTH_DEFAULT, align=ALIGN_NOT,
                   flags=COL_DEFAULT_FLAGS)

HeaderColumnSimple(bitmap, width=COL_WIDTH_DEFAULT, align=ALIGN_CENTER,
                   flags=COL_DEFAULT_FLAGS)

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.

overload Overloaded Implementations:



__init__ (self, title, width=COL_WIDTH_DEFAULT, align=ALIGN_NOT, flags=COL_DEFAULT_FLAGS)

Parameters
  • title (string) –

  • width (int) –

  • align (Alignment) –

  • flags (int) –



__init__ (self, bitmap, width=COL_WIDTH_DEFAULT, align=ALIGN_CENTER, flags=COL_DEFAULT_FLAGS)

Parameters



GetAlignment(self)

Trivial implementations of the base class pure virtual functions.

Return type

wx.Alignment

GetBitmap(self)

Trivial implementations of the base class pure virtual functions.

Return type

wx.Bitmap

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

string

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) –

SetBitmap(self, bitmap)

Trivial implementations of the base class pure virtual functions.

Parameters

bitmap (wx.Bitmap) –

SetFlags(self, flags)

Trivial implementations of the base class pure virtual functions.

Parameters

flags (int) –

SetMinWidth(self, minWidth)

Trivial implementations of the base class pure virtual functions.

Parameters

minWidth (int) –

SetSortOrder(self, ascending)

Trivial implementations of the base class pure virtual functions.

Parameters

ascending (bool) –

SetTitle(self, title)

Trivial implementations of the base class pure virtual functions.

Parameters

title (string) –

SetWidth(self, width)

Trivial implementations of the base class pure virtual functions.

Parameters

width (int) –

Alignment

See GetAlignment and SetAlignment

Bitmap

See GetBitmap and SetBitmap

Flags

See GetFlags and SetFlags

MinWidth

See GetMinWidth and SetMinWidth

Title

See GetTitle and SetTitle

Width

See GetWidth and SetWidth