Garry's Mod Wiki

Revision Difference

DSlider:SetTrapInside#548702

<function name="SetTrapInside" parent="DSlider" type="panelfunc"> <ispanel>yes</ispanel> <description> <deprecated></deprecated>⤶ ⤶ Appears to be non functioning, however is still used by panels such as <page>DNumSlider</page>.⤶ Makes the slider itself, the "knob", trapped within the bounds of the slider panel. Example:⤶ ⤶ <upload src="70c/8dafb0260022da3.png" size="6257" name="image.png" />⤶ </description> <realm>Client</realm> <args> <arg name="trap" type="boolean"></arg> </args> </function>