mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
Merge pull request #2247 from CarstenGrohmann/listctrl_format_doc
Fix docstring layout for ColumnSorterMixin.GetSortState()
This commit is contained in:
@@ -144,10 +144,12 @@ class ColumnSorterMixin:
|
||||
"""
|
||||
Return a tuple containing the index of the column that was last sorted
|
||||
and the sort direction of that column.
|
||||
Usage:
|
||||
col, ascending = self.GetSortState()
|
||||
# Make changes to list items... then resort
|
||||
self.SortListItems(col, ascending)
|
||||
|
||||
Usage::
|
||||
|
||||
col, ascending = self.GetSortState()
|
||||
# Make changes to list items... then resort
|
||||
self.SortListItems(col, ascending)
|
||||
"""
|
||||
return (self._col, self._colSortFlag[self._col])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user