Skip to main content

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:

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:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kivymd_extensions.sweetalert-0.1.5.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file kivymd_extensions.sweetalert-0.1.5.tar.gz.

File metadata

  • Download URL: kivymd_extensions.sweetalert-0.1.5.tar.gz
  • Upload date:
  • Size: 11.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for kivymd_extensions.sweetalert-0.1.5.tar.gz
Algorithm Hash digest
SHA256 7bb8945fd894d1d744ba445ee692b3b4e2a08a181adb5192f27612c357641da8
MD5 da2cd5c751ff2de9848b05e57f93eb7f
BLAKE2b-256 f4cef66684d435507b041137ce09336b06e5c2b0388357a4f8977cb590dd57db

See more details on using hashes here.

File details

Details for the file kivymd_extensions.sweetalert-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: kivymd_extensions.sweetalert-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6

File hashes

Hashes for kivymd_extensions.sweetalert-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f5c08c9becea1fa8a0fadf74fa619233d08cfc1bfd14be5748c9bf9e6d9b4542
MD5 b9d7b5cc4f9c71fd4f5ac57e9cd65de6
BLAKE2b-256 032ca814714837d64651c8c8be1f184749aadf31ebc44a384cc3858532a8713a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page