随笔分类 - Kivy
Kivy in Python to create cross-platform applications for Linux/OS X/Windows/iOS/Android/WM mobile and etc..
For more information, please visit http://kivy.org
摘要:http://kivy.org/docs/api-kivy.uix.gridlayout.html?highlight=gridlayout#kivy.uix.gridlayoutIt's so nice to try this one:from kivy.app import Appfrom kivy.uix.gridlayout import GridLayoutfrom kivy.uix.label import Labelfrom kivy.uix.textinput import TextInputfrom kivy.uix.button import Buttonclass
阅读全文
摘要:Now that you've successfully coded an app. Now you want to deploy it to Android.So now we would need to have a look of this, from its official site:http://kivy.org/docs/guide/packaging.htmlLet's check this out.Mainly for Android .http://kivy.org/docs/guide/packaging-android.htmllet's do
阅读全文
摘要:http://kivy.org/docs/guide/basic.html#quickstartI followed this tutorial about how to create basic kivy application*********************Creating a kivy application is as simple as:sub-classing theAppclassimplementing itsbuild()method so it returns aWidgetinstance (the root of your widget tree)instan
阅读全文
摘要:Let's talk about kivy's EventDispatcher here:The codes I have tried here:codes here:from kivy.event import EventDispatcherclass MyEventDispatcher(EventDispatcher): def __init__(self, **kwargs): self.register_event_type('on_test') super(MyEventDispatcher, self).__init__(**kwargs) ...
阅读全文