Commit ef42e824 authored by Heather Ellsworth's avatar Heather Ellsworth

Merge branch 'titlebar-header-group' into 'master'

GTK+: Mention HdyHeaderGroup in the Title Bar section

See merge request Librem5/!50
parents 7ec0283c c4c5c88f
......@@ -21,6 +21,7 @@
.. _GtkSeparator :
.. _GtkSizeGroup :
.. _HdyHeaderGroup :
.. _HdyTitleBar :
......@@ -76,6 +77,7 @@ HdyTitleBar_ is a simple container that takes care of the look of the title bar.
It is a very convenient widget as it allows header bars to look good when animated by ensuring they don't draw the title bar's background themselves, which is a requirement for adaptive apps, and it simplifies common operations like setting the selection mode a lot.
Some title bars are composed of multiple header bars, in such a case it is advised to separate them with a GtkSeparator_ with the `sidebar` style class.
To help spreading the window decoration across all headerbars as if they were only one, just show the close button on all of your header bars and put them into a HdyHeaderGroup_ in the some order they appear in the title bar.
Here is an simple `GtkBuilder` example showing this section's advises:
......@@ -110,6 +112,12 @@ Here is an simple `GtkBuilder` example showing this section's advises:
<object class="HdyHeaderGroup">
<headerbar name="start_header"/>
<headerbar name="end_header"/>
Selection Mode
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment