set_group_position
Description:
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.
Parameters:
| this | |
| group |
a ToolItemGroup which is a child of palette |
| position |
a new index for group |