Class
AdwViewSwitcher
Description [src]
final class Adw.ViewSwitcher : Gtk.Widget {
/* No available fields */
}
An adaptive view switcher.
An adaptive view switcher designed to switch between multiple views
contained in a AdwViewStack in a similar fashion to
GtkStackSwitcher.
Depending on the available width, the view switcher can adapt from a wide
mode showing the view’s icon and title side by side, to a narrow mode showing
the view’s icon and title one on top of the other, in a more compact way.
This can be controlled via the AdwViewSwitcher:policy property.
CSS nodes
AdwViewSwitcher has a single CSS node with name viewswitcher.
Accessibility
AdwViewSwitcher uses the GTK_ACCESSIBLE_ROLE_TAB_LIST role and uses the
GTK_ACCESSIBLE_ROLE_TAB for its buttons.
| Available since: | 1.0 |