Editra Control Library: ListRowHighlighter Mixin class that handles automatic background highlighting of alternate rows in the a ListCtrl. The background of the rows are highlighted automatically as items are added or inserted in the control based on the mixins Mode and set Color. By default the Even rows will be highlighted with the systems highlight color.
__init__ | Initialize the highlighter mixin |
RefreshRows | Re-color all the rows |
SetHighlightColor | Set the color used to highlight the rows. Call RefreshRows after |
SetHighlightMode | Set the highlighting mode to either HIGHLIGHT_EVEN or to |
Editra Control Library: ListRowHighlighter Mixin class that handles automatic background highlighting of alternate rows in the a ListCtrl. The background of the rows are highlighted automatically as items are added or inserted in the control based on the mixins Mode and set Color. By default the Even rows will be highlighted with the systems highlight color.
Initialize the highlighter mixin
Parameters: |
|
---|
Re-color all the rows
Set the color used to highlight the rows. Call RefreshRows after this if you wish to update all the rows highlight colors.
Parameters: | color – wx.Color or None to set default |
---|
Set the highlighting mode to either HIGHLIGHT_EVEN or to HIGHLIGHT_ODD. Call RefreshRows afterwards to update the list state.
Parameters: | mode – HIGHLIGHT_* mode value |
---|