PIXEL UI
PropertySheet

PIXEL.PropertySheet

Methods

The following methods are available on the PIXEL.PropertySheet panel:

table PANEL:AddSheet( string, Panel, any, boolean, boolean, string )

Adds a new tab and content panel to the property sheet.

PANEL:SetActiveTab( PIXEL.Tab )

Sets the currently active tab.

PANEL:OnActiveTabChanged( PIXEL.Tab, PIXEL.Tab )

Callback fired when active tab changes.

table PANEL:GetItems()

Returns all sheet entries.

PANEL:SizeToContentWidth()

Resizes the sheet to fit the widest content panel.

boolean PANEL:SwitchToName( string )

Switches to the first tab matching a name.

Panel PANEL:CloseTab( PIXEL.Tab, boolean )

Closes a tab and optionally removes its content panel.