ViewSwitcherTitle.setViewSwitcherEnabled

Make @self enable or disable its view switcher. If it is disabled, the title will be displayed instead. This allows to programmatically and prematurely hide the view switcher of @self 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.

class ViewSwitcherTitle
void
setViewSwitcherEnabled
(
bool enabled
)

Parameters

enabled bool

%TRUE to enable the view switcher, %FALSE to disable it

Meta

Since

1.0