CLASS
A list view controller.
The list.
The widgets in the list.
The functions observing changes in the selection.
Execute when the view is set up.
Get the number of widgets in a list.
- Parameters:
- outlineView: The list.
- item: Number of children.
- Returns: Returns the number of widgets.
Get the information that a list is not expandable.
- Parameters:
- outlineView: The list.
- item: Is expandable.
- Returns: Returns always false.
Get the item at a certain index.
- Parameters:
- outlineView: The list.
- index: The index.
- item: Get an item.
- Returns: The item.
Get the view for a certain widget.
- Parameters:
- outlineView: The list.
- tableColumn: The list column.
- item: The widget.
- Returns: The widget's view.
Get the height a widget needs.
- Parameters:
- outlineView: The list.
- item: The widget.
- Returns: The widget's height.
Handle selection changes.
Set the selection manually to a specific index.
- Parameter index: The index.
Remove an item at a certain index.
- Parameter index: The index.