Functionality provided and required for all widgets.
Note: Mandatory parameters must be supplied in order.
| Parameter | Description | Type |
|---|---|---|
| win | Surface to be displayed on. | pygame.Surface |
| x | X-coordinate of top left. | int |
| y | Y-coordinate of top left. | int |
| width | Width of button in pixels. | int |
| height | Height of button in pixels. | int |