β†ͺ WidgetSwitcher

A widget switcher is like a tab control, but without tabs. At most one widget is visible at time.

This class shares methods and events from Panel Widget.

The Panel Slot of this Panel is WidgetSwitcherSlot.

🦠 Functions

SetActiveWidget

WidgetSwitcher:SetActiveWidget(Widget)
Type
Parameter
Description

Widget

GetActiveWidget

β€” Returns BaseWidget.

local ret = WidgetSwitcher:GetActiveWidget()

SetActiveWidgetIndex

WidgetSwitcher:SetActiveWidgetIndex(Index)
Type
Parameter
Description

Index

GetActiveWidgetIndex

β€” Returns integer.

local ret = WidgetSwitcher:GetActiveWidgetIndex()

Last updated