Sideband/sbapp/kivymd/toast/README.md
2022-07-07 22:16:10 +02:00

1.2 KiB
Executable File

KivyToast

A package for working with messages like Toast on Android. It is intended for use in applications written using the Kivy framework.

This package is an improved version of the package https://github.com/knappador/kivy-toaster in which human toasts are written, written on Kivy.

The package modules are written using the framework for cross-platform development of . Information about the framework is available at http://kivy.org.

An example of usage (note that with this import the native implementation of toasts will be used for the Android platform and implementation on Kivy for others:

from toast import toast

...

# And then in the code, toasts are available
# by calling the toast function:
toast ('Your message')

To force the Kivy implementation on the Android platform, use the import of the form:

from toast.kivytoast import toast

PROGRAMMING LANGUAGE

Python 2.7 +

DEPENDENCE

The [Kivy] framework (http://kivy.org/docs/installation/installation.html)

LICENSE

MIT