加载中
golang使用时间作为种子生成随机数

package main     import (     "fmt"     "time"     "math/rand" )     func main() {     r := rand.New(rand.NewSource(time.Now().UnixNano()))     f...

2014/01/28 23:03
1K
android_compass

main.py import kivy kivy.require('1.3.0') import math import time from kivy.app import App from kivy.uix.floatlayout import FloatLayout from kivy.uix.button import Button from...

2012/10/25 09:20
116
app_with_kv_in_template1.py

''' Application from a .kv ====================== The root application is created from the corresponding .kv. Check the test.kv file to see what will be the root widget. This e...

2012/10/25 09:11
24
app_with_kv.py

''' Application from a .kv ====================== The root application is created from the corresponding .kv. Check the test.kv file to see what will be the root widget. ''' i...

2012/10/25 09:09
30
app_with_build.py

''' Application example using build() + return ========================================== An application can be build if you return a widget on build(), or if you set self.root...

2012/10/25 09:08
40
kivy API

kivy.require(version) Require can be used to check the minimum version required to run a Kivy application. For example, you can start your application code like this: import kiv...

2012/10/20 22:57
258
kivy API链接

Kivy framework Animation Application Asynchronous data loader Atlas Cache manager Clock object Configuration object Event dispatcher Event loop management Factory object Gesture...

2012/10/20 22:51
166
在kivy中使用模板

一、建立kivy模板文件。 #:kivy 1.0 Button: text: 'Hello world' 保存为test.kv 二、建立python文件。 ''' Application from a .kv ====================== The root application is...

2012/10/20 22:34
184
开始kivy

''' Application example using build() + return ========================================== An application can be build if you return a widget on build(), or if you set self.root...

2012/10/20 22:30
275

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部