Garry's Mod Wiki

Revision Difference

Panel:SetSelectable#510804

<function name="SetSelectable" parent="Panel" type="classfunc">⤶ <description>Sets whether the panel object can be selected or not (like icons in the Spawn Menu, holding <key>Shift</key>). If enabled, this will affect the function of a <page>DButton</page> whilst <key>Shift</key> is pressed. <page>Panel:SetSelected</page> can be used to select/deselect the object.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="selectable" type="boolean">Whether the panel object should be selectable or not.</arg>⤶ </args>⤶ </function>⤶ ⤶