mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
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
|
Return a tuple containing the index of the column that was last sorted
|
||||||
and the sort direction of that column.
|
and the sort direction of that column.
|
||||||
Usage:
|
|
||||||
col, ascending = self.GetSortState()
|
Usage::
|
||||||
# Make changes to list items... then resort
|
|
||||||
self.SortListItems(col, ascending)
|
col, ascending = self.GetSortState()
|
||||||
|
# Make changes to list items... then resort
|
||||||
|
self.SortListItems(col, ascending)
|
||||||
"""
|
"""
|
||||||
return (self._col, self._colSortFlag[self._col])
|
return (self._col, self._colSortFlag[self._col])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user