diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-12-10 22:57:13 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-12-10 23:03:12 -0500 |
commit | 1a6a86a867353de282da31517828316a0773fd8f (patch) | |
tree | ecd47de95e2790b561d7afe4ae392b94edb6fbd3 /gtk/gtkheaderbar.h | |
parent | b6a6729ce1075507abcd28db48f120b6a48f72f2 (diff) | |
download | gtk+-1a6a86a867353de282da31517828316a0773fd8f.tar.gz |
GtkHeaderBar: Add a ::has-subtitle property
It is a fairly common case to just want a title, and not
reserve extra space for a subtitle. This is much easier
to get right by setting a boolean property than by
constructing a custom title widget.
Diffstat (limited to 'gtk/gtkheaderbar.h')
-rw-r--r-- | gtk/gtkheaderbar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkheaderbar.h b/gtk/gtkheaderbar.h index 5e803f7b71..701dbac5f3 100644 --- a/gtk/gtkheaderbar.h +++ b/gtk/gtkheaderbar.h @@ -97,6 +97,12 @@ GDK_AVAILABLE_IN_3_12 void gtk_header_bar_set_show_fallback_app_menu (GtkHeaderBar *bar, gboolean setting); +GDK_AVAILABLE_IN_3_12 +void gtk_header_bar_set_has_subtitle (GtkHeaderBar *bar, + gboolean setting); +GDK_AVAILABLE_IN_3_12 +gboolean gtk_header_bar_get_has_subtitle (GtkHeaderBar *bar); + G_END_DECLS #endif /* __GTK_HEADER_BAR_H__ */ |