Adds the given widget to the viewport
Delta in pixels to shift the widget position if overlapping another
Removes all the widget from the viewport
Ensure widgets are visible in the rect (x, y, width, height)
Returns whether the given widget is displayed on the viewport
Puts the given widget in the foreground and put the others in the background (changes z-index).