summaryrefslogtreecommitdiff
path: root/gtk/gtkstackswitcher.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2017-10-10 10:19:53 +0100
committerDaniel Boles <dboles.src@gmail.com>2017-10-11 20:21:28 +0100
commiteaae832697658601cebe410d3533e89854e38e74 (patch)
tree96f6e9aca92b4792c49c5c4de23bc19239dda062 /gtk/gtkstackswitcher.c
parent2120ea60ed187deb3598fa0f291ed392c9f22909 (diff)
downloadgtk+-eaae832697658601cebe410d3533e89854e38e74.tar.gz
docs: Clarify the visibility of buttons in GtkStackSwitcher
If a page in the GtkStack is not visible, then the GtkStackSwitcher won't show a button for it.
Diffstat (limited to 'gtk/gtkstackswitcher.c')
-rw-r--r--gtk/gtkstackswitcher.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkstackswitcher.c b/gtk/gtkstackswitcher.c
index 19c887fc8b..77d567055b 100644
--- a/gtk/gtkstackswitcher.c
+++ b/gtk/gtkstackswitcher.c
@@ -39,10 +39,12 @@
* the various pages of the associated stack widget.
*
* All the content for the buttons comes from the child properties
- * of the #GtkStack.
+ * of the #GtkStack; the button visibility in a #GtkStackSwitcher
+ * widget is controlled by the visibility of the child in the
+ * #GtkStack.
*
* It is possible to associate multiple #GtkStackSwitcher widgets
- * with the same stack widget.
+ * with the same #GtkStack widget.
*
* The GtkStackSwitcher widget was added in 3.10.
*