Guest User

Untitled

a guest
Feb 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.22 KB | None | 0 0
  1. import kivy
  2. from kivy.app import App, runTouchApp
  3. from kivy.uix.widget import Widget
  4. from kivy.uix.floatlayout import FloatLayout
  5. from kivy.uix.scrollview import ScrollView
  6.  
  7. class ScrollText(ScrollView):
  8. def __init__(self):
  9. pass
  10.  
  11. lay = FloatLayout()
  12. st = ScrollText()
  13. lay.add_widget(st)
  14.  
  15. runTouchApp(lay)
  16.  
  17. (env) user@DEV-20:~/workarea$ python3 scrltxt.py
  18. [INFO ] [Logger ] Record log in /home/user/.kivy/logs/kivy_18-02-20_30.txt
  19. [INFO ] [Kivy ] v1.10.0
  20. [INFO ] [Python ] v3.5.2 (default, Nov 23 2017, 16:37:01)
  21. [GCC 5.4.0 20160609]
  22. [INFO ] [Factory ] 194 symbols loaded
  23. [DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=None
  24. [DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60
  25. [DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=None
  26. [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
  27. [DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60
  28. [DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600
  29. [DEBUG ] [Window ] Ignored <egl_rpi> (import error)
  30. [INFO ] [OSC ] using <multiprocessing> for socket
  31. [INFO ] [Window ] Provider: sdl2(['window_egl_rpi'] ignored)
  32. [INFO ] [GL ] Using the "OpenGL" graphics system
  33. [DEBUG ] [GL ] glShaderBinary is not available
  34. [INFO ] [GL ] Backend used <gl>
  35. [INFO ] [GL ] OpenGL version <b'3.0 Mesa 17.2.8'>
  36. [INFO ] [GL ] OpenGL vendor <b'Intel Open Source Technology Center'>
  37. [INFO ] [GL ] OpenGL renderer <b'Mesa DRI Intel(R) HD Graphics 630 (Kaby Lake GT2) '>
  38. [INFO ] [GL ] OpenGL parsed version: 3, 0
  39. [INFO ] [GL ] Shading version <b'1.30'>
  40. [INFO ] [GL ] Texture max size <16384>
  41. [INFO ] [GL ] Texture max units <32>
  42. [DEBUG ] [Shader ] Fragment compiled successfully
  43. [DEBUG ] [Shader ] Vertex compiled successfully
  44. [DEBUG ] [ImageSDL2 ] Load </home/user/workarea/env/lib/python3.5/site-packages/kivy/data/glsl/default.png>
  45. [INFO ] [Window ] auto add sdl2 input provider
  46. [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
  47. Segmentation fault (core dumped)
Add Comment
Please, Sign In to add comment