diff options
author | Daniel Boles <dboles@src.gnome.org> | 2018-01-12 22:56:11 +0000 |
---|---|---|
committer | Daniel Boles <dboles@src.gnome.org> | 2018-01-12 23:12:19 +0000 |
commit | b5e4a9d716c9146ac1ef398684a090f0a4743fc7 (patch) | |
tree | bc74cfd80c0e47fc5b1124f4149138eaf1165e5d | |
parent | fe220402cbc55533d4c95a7d713319c7daac59bd (diff) | |
download | gtk+-b5e4a9d716c9146ac1ef398684a090f0a4743fc7.tar.gz |
HeaderBar: Explain use in conjunction w/ GtkWindow
After hinting how good GtkHeaderBar is for GtkWindow, let’s link to
the latter and indicate how users can make the two work together.
-rw-r--r-- | gtk/gtkheaderbar.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c index ae85993464..a731cca328 100644 --- a/gtk/gtkheaderbar.c +++ b/gtk/gtkheaderbar.c @@ -51,6 +51,10 @@ * * GtkHeaderBar can add typical window frame controls, such as minimize, * maximize and close buttons, or the window icon. + * + * For these reasons, GtkHeaderBar is the natural choice for use as the custom + * titlebar widget of a #GtkWindow (see gtk_window_set_titlebar()), as it gives + * features typical of titlebars while allowing the addition of child widgets. */ #define DEFAULT_SPACING 6 |