Beautiful, responsive, customizable and accessible popup replacement
Project description
Sweet Alert
Beautiful, responsive, customizable and accessible popup replacement.
Installation
pip install kivymd_extensions.sweetalert
Dependencies:
- KivyMD >= 0.104.2 (currently master branch)
- Kivy >= 1.10.1 (Installation)
- Python 3.6+
Documentation
See SweetAlert documentation.
Usage
from kivy.lang import Builder
from kivymd.app import MDApp
KV = """
#:import SweetAlert kivymd_extensions.sweetalert.SweetAlert
MDScreen:
MDRaisedButton:
text: "EXAMPLE"
pos_hint: {"center_x": .5, "center_y": .5}
on_release:
SweetAlert(window_control_buttons="mac-style").fire("Any fool can use a computer!")
"""
class MainApp(MDApp):
def build(self):
return Builder.load_string(KV)
if __name__ == "__main__":
MainApp().run()
Examples
git clone https://github.com/kivymd-extensions/sweetalert.git
cd sweetalert
cd examples/full_example
python main.py
Support
If you need assistance or you have a question, you can ask for help on our mailing list:
- Discord server: https://discord.gg/wu3qBST
- Email: kivydevelopment@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for kivymd_extensions.sweetalert-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30ab36cffcd4ce05aa721e2d14994cf9fcc984a99f96edae95ba4bb886077821 |
|
MD5 | 4e5340592948c8214006cf6e304bd70a |
|
BLAKE2b-256 | b03283de3d3a1f3498b3f4b6e5f3a7fd015db3318653e288e597ac09533f960b |
Close
Hashes for kivymd_extensions.sweetalert-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3aa9608ed62115984ff6fd5509eb67cb06827ee52a47189494e5721b0e26050 |
|
MD5 | 4f2e0dcfb341201eeba67d5187bc77f7 |
|
BLAKE2b-256 | 4cb6c94b66eb48d3991c0b01513283a6b0c589550523d6ee4249e96f9ab808ed |