ViewSwitcherTitle.viewSwitcherEnabled

Set viewSwitcherEnabled property.

More...
  1. bool viewSwitcherEnabled [@property getter]
  2. bool viewSwitcherEnabled [@property setter]
    class ViewSwitcherTitle
    @property
    void
    viewSwitcherEnabled
    (
    bool propval
    )

Parameters

propval bool

Whether the view switcher is enabled.

If it is disabled, the title will be displayed instead. This allows to programmatically hide the view switcher even if it fits in the available space.

This can be used e.g. to ensure the view switcher is hidden below a certain window width, or any other constraint you find suitable.

Detailed Description

Deprecated: See the migration guide