Class used to store information (width, alignment flags, colours, etc...) about a HyperTreeList column header.
__init__ | Default class constructor. |
GetAlignment | Returns the column text alignment. |
GetColour | Returns the column text colour. |
GetFont | Returns the column text font. |
GetImage | Returns the column image index. |
GetSelectedImage | Returns the column image index in the selected state. |
GetText | Returns the column header label. |
GetWidth | Returns the column header width in pixels. |
IsEditable | Returns True if the column is editable, False otherwise. |
IsShown | Returns True if the column is shown, False if it is hidden. |
SetAlignment | Sets the column text alignment. |
SetColour | Sets the column text colour. |
SetEditable | Sets the column as editable or non-editable. |
SetFont | Sets the column text font. |
SetImage | Sets the column image index. |
SetSelectedImage | Sets the column image index in the selected state. |
SetShown | Sets the column as shown or hidden. |
SetText | Sets the column header label. |
SetWidth | Sets the column header width. |
Class used to store information (width, alignment flags, colours, etc...) about a HyperTreeList column header.
Default class constructor.
Parameters: |
|
---|
Sets the column text alignment.
Parameters: | flag – the alignment flag, one of wx.ALIGN_LEFT, wx.ALIGN_RIGHT, wx.ALIGN_CENTER. |
---|
Sets the column text colour.
Parameters: | colour – a valid wx.Colour object. |
---|
Sets the column as editable or non-editable.
Parameters: | edit – True if the column should be editable, False otherwise. |
---|
Sets the column image index.
Parameters: | image – an index within the normal image list assigned to HyperTreeList specifying the image to use for the column. |
---|
Sets the column image index in the selected state.
Parameters: | image – an index within the normal image list assigned to HyperTreeList specifying the image to use for the column when in selected state. |
---|
Sets the column as shown or hidden.
Parameters: | shown – True if the column should be shown, False if it should be hidden. |
---|