1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/// Defines the position of a toolbar group within a window.
///
/// Toolbar groups can be positioned in one of four locations: top-left, bottom-left,
/// top-right, or bottom-right of the window. Each group can contain multiple toolbar
/// items (like buttons, checkboxes, labels, or single choice items) which are arranged
/// in the order they're added to the group.
///
/// When multiple toolbar items are added to a group, they're arranged horizontally:
/// - For left-aligned groups (TopLeft, BottomLeft), items are arranged from left to right
/// - For right-aligned groups (TopRight, BottomRight), items are arranged from right to left
/// A group of toolbar items positioned at a specific location in a window.
///
/// Groups are used to organize toolbar items (like buttons, checkboxes, labels, etc.)
/// into collections that share the same position on the window's toolbar area.
/// Multiple groups can exist in the same position, in which case they'll be arranged
/// one after another.
///
/// Groups are created using the `toolbar().create_group()` method on a window,
/// and toolbar items are added to a group using the `toolbar().add()` method.