It derives from <GtkWidget>.
A view switcher that uses a toggle group.
A view switcher showing pages of an ViewStack within an
ToggleGroup, similar to ViewSwitcher.
The toggles can display either an icon, a label or both. Use the
InlineViewSwitcher:display-mode to control this.
<AdwInlineViewSwitcher> has a single
CSS node with the name inline-view-switcher.
Like <AdwToggleGroup>, it can accept the
‘.flat‘ and ‘.round‘ style classes.
The internal toggle group uses the Gtk.AccessibleRole.tab-list
role. Its toggles use the Gtk.AccessibleRole.tab role.
See also: ViewSwitcher, ViewSwitcherBar,
ViewSwitcherSidebar.
Whether the toggles can be smaller than the natural size of their contents.
If set to TRUE, the toggle labels will ellipsize.
See ToggleGroup:can-shrink.
Its value is a boolean.
Set it with (set! (inline-view-switcher:can-shrink self) value).
The display mode.
Determines what the toggles display: a label, an icon or both.
Its value is a
<AdwInlineViewSwitcherDisplayMode>
(or, to set it, one of its symbols).
Set it with (set! (inline-view-switcher:display-mode self)
value).
Whether all toggles take the same size.
Its value is a boolean.
Set it with (set! (inline-view-switcher:homogeneous self) value).
The stack the view switcher controls.
Its value is a <AdwViewStack>, or #f.
Set it with (set! (inline-view-switcher:stack self) value).
Gets whether the toggles can be smaller than the natural size of their contents.
Passed: a <AdwInlineViewSwitcher>.
an inline stack switcher
Returned: a boolean.
whether the toggles can shrink
Gets the display mode of self.
Passed: a <AdwInlineViewSwitcher>.
an inline stack switcher
Returned: a
<AdwInlineViewSwitcherDisplayMode>.
the display mode
Gets whether all toggles within self take the same size.
Passed: a <AdwInlineViewSwitcher>.
an inline stack switcher
Returned: a boolean.
whether all toggles take the same size
Gets the stack self controls.
Passed: a <AdwInlineViewSwitcher>.
an inline stack switcher
Returned: a <AdwViewStack>, or #f.
The stack of self
Creates a new <AdwInlineViewSwitcher>.
Returned: a <GtkWidget>.
the newly created
<AdwInlineViewSwitcher>
Sets whether the toggles can be smaller than the natural size of their contents.
If can-shrink is TRUE, the toggle labels will ellipsize.
See ToggleGroup:can-shrink.
Passed: a <AdwInlineViewSwitcher>.
an inline stack switcher
Passed: a boolean.
whether the toggles can shrink
Sets the display mode of self.
Determines what the toggles display: a label, an icon or both.
Passed: a <AdwInlineViewSwitcher>.
an inline stack switcher
Passed: a
<AdwInlineViewSwitcherDisplayMode>,
or one of its symbols.
the display mode
Sets whether all toggles within self take the same size.
Passed: a <AdwInlineViewSwitcher>.
an inline stack switcher
Passed: a boolean.
whether all toggles should take the same size
Sets the stack to control.
Passed: a <AdwInlineViewSwitcher>.
an inline stack switcher
Passed, or left out: a <AdwViewStack>, or
#f.
a stack