diff --git a/wizpym.py b/wizpym.py index fa98604..2ad9b63 100644 --- a/wizpym.py +++ b/wizpym.py @@ -124,11 +124,11 @@ class Pane(gtk.VBox): self._header.show_all() def set_error(self, msg): - """Add a help header to the pane with the given message. + """Display a error in the pane's footer. - Since it is quite common that panes begin with a little guide - explaining the current step, calling this method will ensure - such panes all present the same header style. + Display the given message in red in a special label attached + to the footer of the pane. The pane is hidden if the message + is empty. """ self._error.foreach(lambda w: self._error.remove(w)) if msg: