Links |
---|
Sets an integer ID value associated with a widget.
Frame:SetID(id)
This method is available on any widget that inherits from Frame.
Arguments
- id
- Number - value to associate with the widget.
Details
- If
id
is not an integer, the decimal portion will be discarded to produce an integer. Thus, trying to set an ID of5.8
and-5.8
will yield IDs of5
and-5
respectively. - You may later retrieve the ID value using Frame:GetID().