Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 431 Bytes

common.md

File metadata and controls

15 lines (11 loc) · 431 Bytes

Common

Functionality provided and required for all widgets.

Mandatory Parameters

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