diff options
author | amartin <olpc@localhost.localdomain> | 2006-12-15 08:53:42 (GMT) |
---|---|---|
committer | amartin <olpc@localhost.localdomain> | 2006-12-15 08:53:42 (GMT) |
commit | ea2098c0985612c71f502b4a5ba700efbdf8f761 (patch) | |
tree | fb31d26900b8cc3a7152072ce651e8ea005ce0d0 /TamTam.py | |
parent | d8cba2ab7550d2aabe1261c664c034b318b50673 (diff) |
TuneInterface
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -41,14 +41,14 @@ if __name__ == "__main__": tamtam = MainWindow() mainwin = gtk.Window(gtk.WINDOW_TOPLEVEL) mainwin.set_title('TamTam Player') + mainwin.set_geometry_hints( None, 1200, 900, 1200, 900, 1200, 900 ) + #mainwin.fullscreen() # don't need to specify full screen, it seem to sit properly anyway mainwin.set_resizable(False) mainwin.connect('destroy' , tamtam.destroy ) - mainwin.connect( "configure-event", tamtam.handleConfigureEvent ) + #mainwin.connect( "configure-event", tamtam.handleConfigureEvent ) mainwin.connect( "key-press-event", tamtam.onKeyPress ) mainwin.connect( "key-release-event", tamtam.onKeyRelease ) mainwin.connect( "delete_event", tamtam.delete_event ) - mainwin.set_border_width(10) - mainwin.set_geometry_hints( None, 855, Constants.NUMBER_OF_TRACKS * 50 + 200, 900, Constants.NUMBER_OF_TRACKS * 300 + 200 ) mainwin.add(tamtam) tamtam.show() mainwin.show() |