Garry's Mod Wiki

Revision Difference

Panel:SetSelected#510803

<function name="SetSelected" parent="Panel" type="classfunc">⤶ <description>Sets the selected state of a selectable panel object. This functionality is set with <page>Panel:SetSelectable</page> and checked with <page>Panel:IsSelectable</page>.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="selected" type="boolean" default="false">Whether the object should be selected or deselected. &lt;page&gt;Panel:IsSelected&lt;/page&gt; can be used to determine the selected state of the object.</arg>⤶ </args>⤶ </function>⤶ ⤶