diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-21 18:13:54 (GMT) |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2009-01-21 18:13:54 (GMT) |
commit | 655029efa32ec3b921e7dc11231de1d6e6fe89dd (patch) | |
tree | 72f06bc0a8fdbeb5db7a225224d62127caf57652 /view.py | |
parent | 3cfa76ea9a229eb180410c7bd5359a1705c64b75 (diff) |
Change the cursor while the drag happens
Diffstat (limited to 'view.py')
-rw-r--r-- | view.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -50,8 +50,10 @@ class MindMapView(Canvas): logging.debug('__dragging_started_cb %r %r' % (x, y)) thought = kwargs['element'] thought.dragging = True + self.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.HAND1)) def __dragging_finished_cb(self, **kwargs): + self.window.set_cursor(None) x, y = kwargs['position'] thought = kwargs['element'] logging.debug('__dragging_finished_cb %r %r' % (x, y)) |