Garry's Mod Wiki

DCollapsibleCategory:OnToggle

  DCollapsibleCategory:OnToggle( boolean expanded )

Description

Called by DCollapsibleCategory:Toggle. This function does nothing by itself, as you're supposed to overwrite it.

Arguments

1 boolean expanded
If it was expanded or not