Sets an integer ID value associated with a widget.
This method is available on any widget that inherits from Frame.
- Number - value to associate with the widget.
idis not an integer, the decimal portion will be discarded to produce an integer. Thus, trying to set an ID of
-5.8will yield IDs of
- You may later retrieve the ID value using Frame:GetID().