arcade-gui-0.1.0a9
توضیحات
GUI extension for the Python game library Arcade https://arcade.academy/
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | arcade-gui-0.1.0a9 |
| نام | arcade-gui |
| نسخه کتابخانه | 0.1.0a9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Maic Siemering |
| ایمیل نویسنده | maic@siemering.tech |
| آدرس صفحه اصلی | https://github.com/eruvanos/arcade_gui |
| آدرس اینترنتی | https://pypi.org/project/arcade-gui/ |
| مجوز | MIT |
[](https://travis-ci.org/eruvanos/arcade_gui)
# GUI Library for Python Arcade
This library contained a first draft of GUI components for arcade game library.
These components are now fully integrated into python arcade.
# Experimental GUI Components
Starting with the version `0.2.0` all components that are included
in arcade will be removed.
Starting with version `0.2.0` this library will
contain experimental components, that could move into the arcade standard.
Consider them as alpha, so breaking changes could happen in every version update.
## Basic Components until version `0.1.0`
#### UIView
Central class to manager the ui components.
Converts `on_` callback functions into events, so that UIElements
just have to contain one method to interact with user input.
#### UIElement
A general interface of an UI element.
## Examples
Examples providing an overview of features, there will be dedicated documentation soon.
* [UILabel](https://github.com/eruvanos/arcade_gui/blob/master/examples/show_uilabel.py)
* [UIButton](https://github.com/eruvanos/arcade_gui/blob/master/examples/show_uibutton.py)
* [UIInputBox](https://github.com/eruvanos/arcade_gui/blob/master/examples/show_uiinputbox.py)
* [Example with ID](https://github.com/eruvanos/arcade_gui/blob/master/examples/show_id_example.py)
### Screenshots

## Features planned to work on
* [ ] Enhancements
* [ ] layered UI
* [ ] Layout
* [ ] Modal
* [ ] open
* [ ] close
* [ ] colour background
* [ ] image background
* [ ] New Components
* [ ] UITextArea
* [ ] Scrollbar
### Chores
* [ ]
## Background information and other frameworks
### Reference Pygame GUI projects
[Overview](https://www.pygame.org/wiki/gui)
* ThorPy
* http://www.thorpy.org/index.html
* Phil's pyGame Utilities
* https://www.pygame.org/project/108
* OcempGUI
* https://www.pygame.org/project/125
* PyGVisuals
* https://github.com/Impelon/PyGVisuals
* Pygame GUI
* [Homepage](https://github.com/MyreMylar/pygame_gui)
* [Examples](https://github.com/MyreMylar/pygame_gui_examples)
* [QuickStart Example](https://github.com/MyreMylar/pygame_gui_examples/blob/master/quick_start.py)
* Concept
* UIManager manages every interaction, new elements get the UIManager on creation
* Elements create events and hook into pygames event system
* Themes can be read from JSON files
نیازمندی
| مقدار | نام |
|---|---|
| >=2.3.15,<3.0.0 | arcade |
| >=5.3.1,<6.0.0 | pyyaml |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl arcade-gui-0.1.0a9:
pip install arcade-gui-0.1.0a9.whl
نصب پکیج tar.gz arcade-gui-0.1.0a9:
pip install arcade-gui-0.1.0a9.tar.gz