This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivy.app import App | |
from kivy.uix.label import Label | |
from kivy.logger import Logger | |
from kivy.uix.vkeyboard import VKeyboard | |
from kivy import kivy_data_dir | |
import shutil | |
import os | |
from kivy.core.window import Window | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "Numeric", | |
"description": "For numeric only entry", | |
"cols": 13, | |
"rows": 1, | |
"normal_1": [ | |
["0", "0", "0", 1], ["1", "1", "1", 1], ["2", "2", "2", 1], | |
["3", "3", "3", 1], ["4", "4", "4", 1], ["5", "5", "5", 1], | |
["6", "6", "6", 1], ["7", "7", "7", 1], ["8", "8", "8", 1], | |
["9", "9", "9", 1], ["_", " ", " ", 1], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File "/usr/local/lib/python2.7/site-packages/kivy/uix/relativelayout.py", line 44, in __init__ | |
File "/usr/local/lib/python2.7/site-packages/kivy/uix/floatlayout.py", line 66, in __init__ | |
File "/usr/local/lib/python2.7/site-packages/kivy/uix/layout.py", line 61, in __init__ | |
File "/usr/local/lib/python2.7/site-packages/kivy/uix/widget.py", line 146, in __init__ | |
File "/usr/local/lib/python2.7/site-packages/kivy/lang.py", line 1412, in apply | |
File "/usr/local/lib/python2.7/site-packages/kivy/lang.py", line 1517, in _apply_rule | |
File "/usr/local/lib/python2.7/site-packages/kivy/lang.py", line 1516, in _apply_rule | |
File "/usr/local/lib/python2.7/site-packages/kivy/lang.py", line 1412, in apply | |
File "/usr/local/lib/python2.7/site-packages/kivy/lang.py", line 1479, in _apply_rule | |
File "/usr/local/lib/python2.7/site-packages/kivy/factory.py", line 104, in __getattr__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivy.app import App | |
from kivy.uix.widget import Widget | |
from kivy.uix.image import AsyncImage, Image | |
from kivy.loader import Loader | |
from kivy.clock import Clock | |
class TestApp(App): | |
'''Demonstrate the mechanics of managing asynchronous image loading''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivy.lang import Builder | |
from kivy.app import App | |
from kivy.uix.label import Label | |
from kivy.uix.floatlayout import FloatLayout | |
Builder.load_string(""" | |
<CustomLabel>: | |
canvas.before: | |
StencilPush |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Camys-MacBook-Pro:kivy-ios camy$ tools/build-ios.sh | |
~/kivy-ios/kivy-ios/src/ios ~/kivy-ios/kivy-ios | |
-- cythonize ['/Users/camy/kivy-ios/kivy-ios/tools/cythonize.py', 'ios.pyx'] | |
cythonize: ios.pyx | |
Traceback (most recent call last): | |
File "/usr/local/bin/cython", line 5, in <module> | |
from pkg_resources import load_entry_point | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 698, in <module> | |
class Environment(object): | |
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 701, in Environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Camys-MacBook-Pro:kivy camy$ python setup.py build_ext --inplace -f | |
[INFO ] Kivy v1.8.0-dev | |
User distribution detected, avoid portable command. | |
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'dependency_links' | |
warnings.warn(msg) | |
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires' | |
warnings.warn(msg) | |
running build_ext | |
Build configuration is: | |
* use_opengl_es2 = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "main.py", line 169, in <module> | |
Controller().run() | |
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/app.py", line 728, in run | |
runTouchApp() | |
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/base.py", line 469, in runTouchApp | |
EventLoop.window.mainloop() | |
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 335, in mainloop | |
self._mainloop() | |
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 302, in _mainloop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Camys-MacBook-Pro:SpeedTest camy$ KIVY_CLIPBOARD=appkit python main.py | |
[INFO ] Kivy v1.8.0-dev | |
[INFO ] [Logger ] Record log in /Users/camy/.kivy/logs/kivy_13-11-04_7.txt | |
[INFO ] [Factory ] 156 symbols loaded | |
[DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones | |
[DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s | |
[DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones | |
[INFO ] [Image ] Providers: img_imageio, img_tex, img_dds, img_pygame, img_pil, img_gif | |
[DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s | |
[DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO ] Kivy v1.8.0-dev | |
[INFO ] [Logger ] Record log in /Users/camy/.kivy/logs/kivy_13-11-04_8.txt | |
[INFO ] [Factory ] 156 symbols loaded | |
[DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones | |
[DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s | |
[DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones | |
[INFO ] [Image ] Providers: img_imageio, img_tex, img_dds, img_pygame, img_pil, img_gif | |
[DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s | |
[DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s | |
[INFO ] [Text ] Provider: pygame |
OlderNewer