semvec/pypi-packages huggingface dataset:
pygameSimplify 0.1
Pygame Simplify is an addon for pygame, you can use it to make buttons, texts, fields and many other things without getting a headache.

# PygameSimplify

Pygame Simplify is an addon for pygame, you can use it
to make buttons, texts, fields and many other things
without getting a headache.

## Installation

<ins>Actual version:</ins> 0.1<br>

```bash
pip install pygameSimplify
```

## Usage

The're is an example of code, it is recommended to not 
define every arguments because this unefficient.

```Python
import pygameSimplify as ps

# Creation of a window
screen = Window(
    mode = "RESIZABLE",
    size = (1000, 500),
    caption = "Test"
)

button = Button(
    color = (255, 0, 0),
    pos = (50, 50),
    size = (50, 50),
    onClick = "print(\"I'm a pretty little flower\")"
)

screen.add_button(button)

while True:
    screen.update()
```

## Documentation

### <ins>Window</ins>

#### Parameters:

|Property | Type | Optionnal | Default | Description |
| ------- | ---- | --------- | ------- | ----------- |
| mode | <center>[Window Flag](https://google.com)</center> | <center>Yes</center> | <center>None</center> | <center>The mode of the window</center> |
| size | [tuple](https://docs.python.org/3/c-api/tuple.html) | Yes | (500, 500) | The size of the window |
| icon | [pygame.Surface]() | Yes | None | The window icon |
| caption | [string](https://docs.python.org/3/library/string.html) | Yes | "pygameSimplify" | The title for the window

#### Properties:

<details>
display [pygame.display]() The pygame display object, this is in case you have to do something with it that is not implemented yet in the module.
</details>
<details>
window [pygame.Surface]() This is the surface object of the window, it's here for the same reason than the display property.
</details>
<details>
texts [array]() The list of text objects assigned to this window
</details>

#### Methods:

## Bugs reports

First of all, all bugs reports are welcome, I'm actually student and I don't have time to cover all the mistakes that i can let in my code, if you are a developer and you want to help me, feel free to analyze it and tell me if something is wrong [here](https://github.com/TheMisterObvious/pygameSimplify/issues) and, if you want, you can also make some suggestion or a pull request of something you would like to be implemented.