We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3a722e commit 36d9eebCopy full SHA for 36d9eeb
bpython/gtk_.py
@@ -143,7 +143,12 @@ def __init__(self):
143
self.context_id = self.get_context_id('Statusbar')
144
145
def message(self, s, n=3):
146
+ self.clear()
147
self.push(self.context_id, s)
148
+ gobject.timeout_add(n*1000, self.clear)
149
+
150
+ def clear(self):
151
+ self.pop(self.context_id)
152
153
154
class SuggestionWindow(gtk.Window):
@@ -303,7 +308,6 @@ def file_prompt(self, s):
303
308
304
309
def notify(self, s, n=10):
305
310
self.statusbar.message(s)
306
-
307
311
312
class ReplWidget(gtk.TextView, repl.Repl):
313
__gsignals__ = dict(button_press_event=None,
0 commit comments