HeaderGroup
Object Hierarchy:
Description:
[ Version ( since = "1.0" ) ]
public sealed class HeaderGroup : Object, Buildable
An object handling composite title bars.
The `HdyHeaderGroup` object handles the header bars of a composite title bar. It splits the window decoration across the header bars, giving the left side of the decorations to the leftmost header bar, and the right side of the decorations to the rightmost header bar. See [ method@HeaderBar.set_decoration_layout].
The [property@HeaderGroup:decorate-all] property can be used in conjunction with [property@Leaflet:folded] when the title bar is split across the pages of a [class@Leaflet] to automatically display the decorations on all the pages when the leaflet is folded.
You can nest header groups, which is convenient when you nest leaflets too:
```xml <object class="HdyHeaderGroup" id="inner_header_group"> <property name="decorate-all" bind-source="inner_leaflet" bind-property="folded" bind-flags="sync-create"/> <headerbars> <headerbar name="inner_header_bar_1"/> <headerbar name="inner_header_bar_2"/> </headerbars> </object> <object class="HdyHeaderGroup" id="outer_header_group"> <property name="decorate-all" bind-source="outer_leaflet" bind-property="folded" bind-flags="sync-create"/> <headerbars> <headerbar name="inner_header_group"/> <headerbar name="outer_header_bar"/> </headerbars> </object> ```