From f50f3e2a9008b92180dacf1703d1b90dca9a902b Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Tue, 10 Oct 2017 10:19:53 +0100 Subject: [PATCH] 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. --- gtk/gtkstackswitcher.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk/gtkstackswitcher.c b/gtk/gtkstackswitcher.c index fb8a9a95d6..a18a23cc38 100644 --- a/gtk/gtkstackswitcher.c +++ b/gtk/gtkstackswitcher.c @@ -38,10 +38,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. *