摘要: 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 阅读全文
posted @ 2013-12-03 17:30 spaceship9 阅读(859) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2013-12-03 16:00 spaceship9 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2013-12-03 14:10 spaceship9 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 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) ... 阅读全文
posted @ 2013-12-03 10:57 spaceship9 阅读(529) 评论(0) 推荐(0) 编辑