set_display_mode


Description:

public void set_display_mode (InlineViewSwitcherDisplayMode mode)

Sets the display mode of this.

Determines what the toggles display: a label, an icon or both.

<picture> <source srcset="inline-view-switcher-display-modes-dark.png" media="(prefers-color-scheme: dark)"> <img src="inline-view-switcher-display-modes.png" alt="inline-view-switcher-display-modes"> </picture>

Parameters:

this

an inline stack switcher

mode

the display mode