Browse Source
The selection state is now managed entirely by TTkTreeWidget instead of individual items. This improves performance and simplifies the API. BREAKING CHANGE: The following APIs have been removed from TTkTreeWidgetItem: - `isSelected()` method - use `TTkTreeWidget.selectedItems()` to check selection - `setSelected(bool)` method - selection is now managed by TTkTreeWidget - `selected` parameter in constructor - no longer supported Migration guide: - Replace `item.isSelected()` with `item in treeWidget.selectedItems()` - Remove calls to `item.setSelected(True/False)` - use tree widget selection methods - Remove `selected=True` from TTkTreeWidgetItem() constructor callspull/583/head
2 changed files with 2 additions and 23 deletions
Loading…
Reference in new issue