[gtk+] HeaderBar: Explain use in conjunction w/ GtkWindow
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] HeaderBar: Explain use in conjunction w/ GtkWindow
- Date: Sat, 13 Jan 2018 20:08:16 +0000 (UTC)
commit db6127a11868c1e6bf84ee4f8f64cd3b590574ee
Author: Daniel Boles <dboles src gnome org>
Date: Fri Jan 12 22:56:11 2018 +0000
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.
gtk/gtkheaderbar.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index 08e9757..34aedc7 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -50,6 +50,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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]