Garry's Mod Wiki

Revision Difference

Panel:SetEnabled#550882

<function name="SetEnabled" parent="Panel" type="classfunc"> <description> Sets the enabled state of a disable-able panel object, such as a <page>DButton</page> or <page>DTextEntry</page>. See <page>Panel:IsEnabled</page> for a function that retrieves the "enabled" state of a panel. </description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="enable" type="boolean">Whether to enable or disable the panel object.</arg> </args> </function>