HeaderGroup


Object Hierarchy:

Hdy.HeaderGroup Hdy.HeaderGroup Hdy.HeaderGroup GLib.Object GLib.Object GLib.Object->Hdy.HeaderGroup Gtk.Buildable Gtk.Buildable Gtk.Buildable->Hdy.HeaderGroup

Description:

[ CCode ( type_id = "hdy_header_group_get_type ()" ) ]
[ Version ( since = "1.0" ) ]
public 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 [[email protected]_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> ```


Namespace: Hdy
Package: libhandy-1

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Buildable



2022 vala-language.org