Beautiful, responsive, customizable and accessible popup replacement
Project description
Sweet Alert
Beautiful, responsive, customizable
and accessible popup replacement.
See SweetAlert documentation
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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bb8945fd894d1d744ba445ee692b3b4e2a08a181adb5192f27612c357641da8 |
|
MD5 | da2cd5c751ff2de9848b05e57f93eb7f |
|
BLAKE2b-256 | f4cef66684d435507b041137ce09336b06e5c2b0388357a4f8977cb590dd57db |
Close
Hashes for kivymd_extensions.sweetalert-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5c08c9becea1fa8a0fadf74fa619233d08cfc1bfd14be5748c9bf9e6d9b4542 |
|
MD5 | b9d7b5cc4f9c71fd4f5ac57e9cd65de6 |
|
BLAKE2b-256 | 032ca814714837d64651c8c8be1f184749aadf31ebc44a384cc3858532a8713a |