e01.org

Kivy (framework)

Kivy is a free and open source Python framework for developing mobile apps and other multitouch application software with a natural user interface (NUI). It is distributed under the terms of the MIT License, and can run on Android, iOS, Linux, macOS, and Windows. Kivy is the main framework developed by the Kivy organization, alongside Python for Android, Kivy for iOS, and several other libraries meant to be used on all platforms. In 2012, Kivy got a $5000 grant from the Python Software Foundation for porting it to Python 3.3. Kivy also supports the Raspberry Pi which was funded through Bountysource. The framework contains all the elements for building an application such as: * extensive... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

Kivy is a free and open source Python framework for developing mobile apps and other multitouch application software with a natural user interface (NUI). It is distributed under the terms of the MIT License, and can run on Android, iOS, Linux, macOS, and Windows. Kivy is the main framework developed by the Kivy organization, alongside Python for Android, Kivy for iOS, and several other libraries meant to be used on all platforms. In 2012, Kivy got a $5000 grant from the Python Software Foundation for porting it to Python 3.3. Kivy also supports the Raspberry Pi which was funded through Bountysource. The framework contains all the elements for building an application such as: extensive input support for mouse, keyboard, TUIO, and OS-specific multitouch events; a graphic library using only OpenGL ES 2, and based on Vertex Buffer Object and shaders; a wide range of widgets that support multitouch; an intermediate language (Kv) used to easily design custom widgets. Kivy is an evolution of the PyMT project. from kivy.app import App from kivy.uix.button import Button class TestApp(App): def build(self): return Button(text="Hello World") TestApp().run() class LoadDialog(FloatLayout): def load(self, filename): pass def cancel(self): pass And in the associated Kv: kivy 1.11.1 : BoxLayout: size: root.size pos: root.pos orientation: "vertical" FileChooserListView: id: filechooser BoxLayout: size_hint_y: None height: 30 Button: text: "Cancel" on_release: root.cancel() Button: text: "Load" on_release: root.load(filechooser.path, filechooser.selection) Alternatively, the layout (here, Box Layout) and the buttons can be loaded directly in the main.py file.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Kivy (framework)". 1775663285. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1347768427

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·