PtToolbarGroup
![]() |
![]() |
![]() |
![]() |
PtToolbarGroup
A group of toolbars
Class hierarchy:
PtWidget --> PtBasic --> PtContainer --> PtToolbarGroup
For more information, see the diagram of the widget hierarchy.
PhAB icon:
Public header:
<photon/PtToolbarGroup.h>
Description:
A PtToolbarGroup is a container that manages its children, which must be of the PtToolbar class or one of its subclasses.

A PtToolbarGroup.
You can drag the toolbars in the group to expand or shrink them.
New resources:
| Resource | C type | Pt type | Default |
|---|---|---|---|
| Pt_ARG_ORIENTATION | char | Scalar | Pt_HORIZONTAL |
| Pt_ARG_TG_FLAGS | uint16_t | Flag | 0 |
Pt_ARG_ORIENTATION
| C type | Pt type | Default |
|---|---|---|
| char | Scalar | Pt_HORIZONTAL |
Indicates whether the toolbar group is to be drawn vertically or horizontally. Possible values:
- Pt_HORIZONTAL
- Pt_VERTICAL
![]() |
This resource overrides the orientation specified for the toolbar group's children. |
Pt_ARG_TG_FLAGS
| C type | Pt type | Default |
|---|---|---|
| uint16_t | Flag | 0 |
Flags that control the behavior of the widget:
- Pt_TG_COLLAPSIBLE
- Toolbars are collapsible. If this bit is set, you can click on a toolbar's drag handle to minimize the toolbar to a thin bar.
Inherited resources:
If the widget modifies an inherited resource, the "Default override" column indicates the new value. This modification affects any subclasses of the widget.
![]() |
![]() |
![]() |
![]() |
![[Previous]](prev.gif)
![[Contents]](contents.gif)
![[Index]](keyword_index.gif)
![[Next]](next.gif)
