Mercurial > mamba
comparison mamba/widgets/messagebox.py @ 454:8cfa757dd7d3
Epic level editor reworking.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 17 Sep 2011 20:37:05 +0200 |
parents | 08a84134ccbf |
children | ce3a50c4caaa |
comparison
equal
deleted
inserted
replaced
453:4f3c55b09fda | 454:8cfa757dd7d3 |
---|---|
40 if hasattr(self.parent, 'paused'): | 40 if hasattr(self.parent, 'paused'): |
41 self.parent.paused = False | 41 self.parent.paused = False |
42 self.parent.remove(self) | 42 self.parent.remove(self) |
43 if self.post_callback: | 43 if self.post_callback: |
44 self.post_callback() | 44 self.post_callback() |
45 if getattr(self, 'parent_modal', False): | |
46 self.parent.modal = True | |
45 | 47 |
46 def grab_focus(self): | 48 def grab_focus(self): |
49 print "mbf", self.text | |
47 return self.ok_button.grab_focus() | 50 return self.ok_button.grab_focus() |