Garry's Mod Wiki

DPanel:SetDisabled

  DPanel:SetDisabled( boolean disabled )

Description

Sets whether or not to disable the panel.

Arguments

1 boolean disabled
True to disable the panel (mouse input disabled and background alpha set to 75), false to enable it (mouse input enabled and background alpha set to 255).