Sets the position of the group as an index of the tool palette.
If position is 0 the group will become the first child, if position is -1 it will become the last child.
this | |
group |
a ToolItemGroup which is a child of palette |
position |
a new index for group |