Package: gtk

Function gtk-tool-palette-group-position

Lambda List

gtk-tool-palette-group-position (palette group)

Syntax

(gtk-tool-palette-group-position palette group) => position
(setf (gtk-tool-palette-group-position palette group) position)

Arguments

palette -- a gtk-tool-palette widget
group -- a gtk-tool-item-group widget which is a child of palette
position -- an integer with an index for group

Details

Accessor of the index of the tool item group in the tool palette.

The function gtk-tool-palette-group-position gets the position of group in palette as index. The function (setf gtk-tool-palette-group-position) sets the position.

If position is 0 the group will become the first child, if position is -1 it will become the last child.
 

See also

*2021-3-14