From bd86949ad60649e9dbf956332800b1af245d3f24 Mon Sep 17 00:00:00 2001 From: Emmanuel Bretelle Date: Wed, 27 Feb 2008 20:27:29 +0000 Subject: [PATCH] some documentation --- terminator | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/terminator b/terminator index bbf6ec2c..e5960dee 100755 --- a/terminator +++ b/terminator @@ -780,7 +780,10 @@ class Terminator: self.on_destroy_event (window, gtk.gdk.Event (gtk.gdk.DESTROY)) - def add(self, widget, terminal, pos): + def add(self, widget, terminal, pos = "bottom"): + """ + Add a term to another at position pos + """ vertical = pos in ("top", "bottom") pane = (vertical) and gtk.VPaned () or gtk.HPaned () # get the parent of the provided terminal @@ -847,6 +850,8 @@ class Terminator: return terminal def remove(self, widget): + """Remove a TerminatorTerm from the Terminator view and terms list + Returns True on success, False on failure""" parent = widget.get_box ().get_parent () sibling = None