Adds a widget to the window.
The window to add the widget to
A unique identifier for the widget
Any Widget Type
The widget to add to the window
X coordinate of the widget (currently in pixels, but that may change)
Y coordinate of the widget (currently in pixels, but that may change)
The modified window