Class
HandyHeaderGroup
Description [src]
final class Handy.HeaderGroup : GObject.Object {
/* No available fields */
}
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
hdy_header_bar_set_decoration_layout()
.
The HdyHeaderGroup:decorate-all
property can be used in conjunction
with HdyLeaflet:folded
when the title bar is split across the pages
of a HdyLeaflet
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:
<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>
Available since: | 1.0 |
Instance methods
hdy_header_group_get_children
Returns the list of children associated with self
.
Available since: 1.0
hdy_header_group_get_decorate_all
Gets whether the elements of the group should all receive the full decoration.
Available since: 1.0
hdy_header_group_remove_header_group
Removes a nested HdyHeaderGroup
from self
.
Available since: 1.0
hdy_header_group_set_decorate_all
Sets whether the elements of the group should all receive the full decoration.
Available since: 1.0
Properties
Handy.HeaderGroup:decorate-all
Whether the elements of the group should all receive the full decoration.
Available since: 1.0
Signals
Handy.HeaderGroup::update-decoration-layouts
This signal is emitted before updating the decoration layouts.
Available since: 1.0