Garry's Mod Wiki

Revision Difference

DColorButton:GetID#562264

<function name="GetID" parent="DColorButton" type="panelfunc"> <description> Returns the unique ID set by <page>DColorButton:SetID</page>. An <page>Global.AccessorFunc</page> that returns the unique ID set by <page>DColorButton:SetID</page>. Used internally by <page>DColorPalette</page> </description> <realm>Client and Menu</realm> <file line="10">lua/vgui/dcolorbutton.lua</file>⤶ <rets> <ret name="" type="number">The unique ID of the button</ret> </rets> </function>