diff options
author | jaberg <james@localhost.localdomain> | 2006-12-15 09:41:10 (GMT) |
---|---|---|
committer | jaberg <james@localhost.localdomain> | 2006-12-15 09:41:10 (GMT) |
commit | 465e51299ba28e692a9280549f2406005f637928 (patch) | |
tree | 26b5fc0889780a015a2411ad41e11d34873e2ba6 /TamTam.py | |
parent | b0846402a71b135cec9b91756025a03f487634ef (diff) | |
parent | 18699536114b801e7962b08e33ad58591e577e85 (diff) |
merge
Diffstat (limited to 'TamTam.py')
-rwxr-xr-x | TamTam.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -35,7 +35,7 @@ if __name__ == "__main__": tamtam = StandAlonePlayer(csnd) #tamtam = gtk.Button("adsf") mainwin = gtk.Window(gtk.WINDOW_TOPLEVEL) - mainwin.set_size_request(1200,600) + #mainwin.set_size_request(1200,600) mainwin.set_title('miniTamTam') mainwin.set_resizable(False) mainwin.connect('destroy' , gtk.main_quit ) @@ -50,14 +50,14 @@ if __name__ == "__main__": tamtam = MainWindow(csnd) 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() |