Garry's Mod Wiki

DCollapsibleCategory:SetList

Description

Used internally by DCategoryList when it creates a DCollapsibleCategory during DCategoryList:Add.

If set, Panel:UnselectAll will be called on the list, instead of calling it on the category panel itself when a category is clicked.

Arguments

1 Panel pnl
The Panel:UnselectAll that is the "parent" of this panel.