[gtk+] Window: Mention GtkHeaderBar in set_titlebar() doc
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Window: Mention GtkHeaderBar in set_titlebar() doc
- Date: Sat, 13 Jan 2018 20:08:11 +0000 (UTC)
commit e0f69353bb8427fa3ddb2b487771d91321fe0d4a
Author: Daniel Boles <dboles src gnome org>
Date: Fri Jan 12 21:26:36 2018 +0000
Window: Mention GtkHeaderBar in set_titlebar() doc
This is the typical thing passed here and what most users want, so we
should mention it here, rather than requiring users to figure it out.
gtk/gtkwindow.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 1f41e00..527b6fc 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -4163,6 +4163,9 @@ on_titlebar_title_notify (GtkHeaderBar *titlebar,
*
* Sets a custom titlebar for @window.
*
+ * A typical widget used here is #GtkHeaderBar, as it provides various features
+ * expected of a titlebar while allowing the addition of child widgets to it.
+ *
* If you set a custom titlebar, GTK+ will do its best to convince
* the window manager not to put its own titlebar on the window.
* Depending on the system, this function may not work for a window
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]