PIXEL.Category
- Base panel:
Panel(opens in a new tab) - Source: cl_category.lua (opens in a new tab)
- Description: PIXEL collapsible category container panel.
Methods
The following methods are available on the PIXEL.Category panel:
PANEL:UnselectAll()Clears selected state from child panels that support `SetSelected`.
PANEL:SetContents( Panel )Sets the content panel shown inside the category.
PANEL:SetExpanded( boolean )Sets whether the category should be expanded.
PANEL:Toggle()Toggles the expanded/collapsed state.
PANEL:DoExpansion( boolean )Forces an expansion state change when needed.
PANEL:LayoutContent( number, number )Extension point for additional category content layout.