My favorites
▼
|
Sign in
pymt
PyMT, a framework for making accelerated multitouch UI
Project Home
Downloads
Issues
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
223
attachment: screen1.py
(983 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# documentation : http://pymt.txzone.net/docs/api/
from pymt import *
css_add_file('music.css')
w = getWindow()
w.style['bg-color'] = (0,0,0,0)
# button
search = MTButton(id="play",label='Search', size=(350,60), pos=(40, 550))
w.add_widget(search)
extractor = MTButton(id="menu",label='The Extractor', size=(200,80), pos=(150, 680))
w.add_widget(extractor)
box = MTButton(id="menu",label='The Box', size=(200,80), pos=(400, 680))
w.add_widget(box)
live = MTButton(id="menu",label='Play on live', size=(200,80), pos=(650, 680))
w.add_widget(live)
back = MTButton(id="play",label='<<', size=(80,60), pos=(400, 25))
w.add_widget(back)
#play = MTButton(id="play",label='|>', size=(80,80), pos=(500, 25))
#w.add_widget(play)
play = MTImageButton(filename='play2.png',size=(80,60), pos=(500, 25),scale=.8)
w.add_widget(play)
next = MTButton(id="play",label='>>', size=(80,60), pos=(600, 25))
w.add_widget(next)
# filebrowser
fb = MTFileBrowser()
w.add_widget(fb)
runTouchApp()
Powered by
Google Project Hosting