Mercurial > mamba
diff mamba/widgets/base.py @ 290:a0c60e0c1ef2
Make forced_click grab the focus as well
author | Neil Muller <drnlmuller@gmail.com> |
---|---|
date | Thu, 15 Sep 2011 23:24:22 +0200 |
parents | 11cf3a259eaa |
children | 2cadc8a427f0 |
line wrap: on
line diff
--- a/mamba/widgets/base.py Thu Sep 15 23:03:24 2011 +0200 +++ b/mamba/widgets/base.py Thu Sep 15 23:24:22 2011 +0200 @@ -90,6 +90,7 @@ def forced_click(self): """Force calling the clicked handler""" + self.grab_focus() for callback, args in self.callbacks['clicked']: if callback(None, self, *args): return True