Garry's Mod Wiki

Revision Difference

DColorButton:SetID#549990

<function name="SetID" parent="DColorButton" type="panelfunc"> <ispanel>yes</ispanel> <description>Used internally by <page>DColorPalette</page> to detect which button is which.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="id" type="number">A unique ID to give this button</arg> </args> </function>