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 gtk:tool-palette-group-position function gets the position of group in palette as index. The (setf gtk:tool-palette-group-position) function sets the position.

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

See also

#2023-3-28