ViewSwitcherBar

class ViewSwitcherBar(**properties: Any)

Superclasses: Widget, InitiallyUnowned, Object

Implemented Interfaces: Accessible, Buildable, ConstraintTarget

Constructors:

ViewSwitcherBar(**properties)
new() -> Gtk.Widget

Constructors

class ViewSwitcherBar
classmethod new() Widget

Creates a new AdwViewSwitcherBar.

Methods

class ViewSwitcherBar
get_reveal() bool

Gets whether self should be revealed or hidden.

get_stack() ViewStack | None

Gets the stack controlled by self.

set_reveal(reveal: bool) None

Sets whether self should be revealed or hidden.

Parameters:

reveal – whether to reveal self

set_stack(stack: ViewStack | None = None) None

Sets the stack controlled by self.

Parameters:

stack – a stack

Properties

class ViewSwitcherBar
props.reveal: bool

Whether the bar should be revealed or hidden.

props.stack: ViewStack

The stack the view switcher controls.