ToolPalette.getGroupPosition

Gets the position of group in palette as index. See ToolPalette.setGroupPosition.

class ToolPalette
int
getGroupPosition

Parameters

group ToolItemGroup

Return Value

Type: int

the index of group or -1 if group is not a child of palette

Meta

Since

2.20