ocarina/remote.py
Bryan Schumaker 77e9cf13ee Added remote plugin
This plugin will allow me to control Ocarina using an app on another
computer.
2010-11-13 21:40:55 -05:00

25 lines
532 B
Python
Executable File

#!/usr/bin/python2
# Bryan Schumaker (11/13/2010)
import remote
from remote.gui import buttons
gtk = remote.gtk
win = remote.window()
win.resize(1,1)
vbox = gtk.VBox()
vbox.show()
button_box = gtk.HBox()
button_box.show()
button_box.pack_start(buttons.PlayButton(), False, False)
button_box.pack_start(buttons.PauseButton(), False, False)
button_box.pack_start(buttons.StopButton(), False, False)
button_box.pack_start(buttons.NextButton(), False, False)
vbox.pack_start(button_box, False, False)
win.add(vbox)
remote.start()