Skip to content

Interface ITabbable

Definition

Namespace: StardewUI.Layout
Assembly: StardewUI.dll

Signals that an IView implements tab controls.

public interface ITabbable

Remarks

Tab controls are a gamepad function. While tabs are usually clickable and have their own navigation logic, controller users should be able to use the trigger buttons to navigate tabs, which this interface enables.

Members

Methods

Name Description
NextTab() Advance to the next top-level tab.
PreviousTab() Advance to the previous top-level tab.

Details

Methods

NextTab()

Advance to the next top-level tab.

bool NextTab();
Returns

Boolean

true if any navigation was performed; false if there are no more tabs.


PreviousTab()

Advance to the previous top-level tab.

bool PreviousTab();
Returns

Boolean

true if any navigation was performed; false if there are no more tabs.