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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ed8b70471f0ceaae355e90a079e6efc9af0e4afc7bc0633fc61d25c9c0324fd |
|
MD5 | 9d2b4c06c642b607461536215b8ceef4 |
|
BLAKE2b-256 | 90cd5bcc8b88a27a0b8c85710ac4c027f32a051cfce0d48d7ae169134a9a0cdc |
Close
Hashes for kivymd_extensions.sweetalert-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79cfc636e6cb3db188abf210b2bc54f289b1eca6c449f012b7a2a3edf24c5a9f |
|
MD5 | 4274df68d4a63779c94f248c5942643b |
|
BLAKE2b-256 | 376200dbdf71a213c8390f5378ad615807a4684ab6573d921bd21c7b6458136c |