TreeView<TIdentifier>.RowGUIArgs
Method arguments for the virtual method TreeView<TIdentifier>.RowGUI.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Struct
- Namespace: UnityEditor.IMGUI.Controls
- Assembly: UnityEditor.CoreModule
protected struct TreeView<TIdentifier>.RowGUIArgs
Fields
Value | Description |
|---|---|
| focused | This value is true only when the TreeView has keyboard focus and the TreeView's window has focus. |
| isRenaming | This value is true when the ::item is currently being renamed. |
| item | Item for the current row being handled in RowGUI. |
| label | Label used for text rendering of the item displayName. Note this is an empty string when TreeView<TIdentifier>.RowGUIArgs.isRenaming == true. |
| row | Row index into the list of current rows. |
| rowRect | Row rect for the current row being handled. |
| selected | This value is true when the current row's item is part of the current selection. |
Methods
Method | Description |
|---|---|
| GetCellRect | If using a MultiColumnHeader for the TreeView this method can be used to get the cell rects of a row using the visible columns of the MultiColumnHeader. |
| GetColumn | If using a MultiColumnHeader for the TreeView this method can be used to convert an index from the visible columns list to a index into the actual columns in the MultiColumnHeaderState. |
| GetNumVisibleColumns | If using a MultiColumnHeader for the TreeView use this method to get the number of visible columns currently being shown in the MultiColumnHeader. |