From 53f65e36d87f0e13b8a3c36fa2ca4e1d6fc348c1 Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Tue, 27 Nov 2012 05:15:10 +0000 Subject: Draw the piano at the bottom of the screen Signed-off-by: Gonzalo Odiard --- (limited to 'draw_piano.py') diff --git a/draw_piano.py b/draw_piano.py index 260a042..137581e 100755 --- a/draw_piano.py +++ b/draw_piano.py @@ -78,6 +78,7 @@ class PianoKeyboard(Gtk.DrawingArea): logging.error('key_width %s', self._key_width) self._black_keys_height = self._height * 2 / 3 self._octave_width = self._key_width * 7 + self.set_size_request(-1, self._height) def __event_cb(self, widget, event): if event.type in (Gdk.EventType.TOUCH_BEGIN, -- cgit v0.9.1