Delivered-To: lablgtk at yquem.inria.fr Date: Thu, 27 Mar 2008 13:51:25 +0900 (JST) Message-Id: <20080327.135125.216788943.garrigue at math.nagoya-u.ac.jp> To: rathereasy at gmail.com Subject: Re: [Lablgtk] forward_line From: Jacques Garrigue In-Reply-To: References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: lablgtk at yquem.inria.fr Content-Type: Text/Plain; charset=us-ascii Content-Length: 784 If you need the returned boolean, you should use an imperative iterator. let iit = it#nocopy in let ok = iit#forward_line in ... Jacques From: "Jacques Le Normand" > hello lablgtk mailing list, > I'm looking at the function GText.iter:forward_line > according to the gtk docs: > http://www.pygtk.org/pygtk2reference/class-gtktextiter.html#method-gtktextiter--forward-line > > Returns true if the textiter location can be dereferenced > > However, GText.iter:forward_line returns an iter and not a bool. How do I > find out if my forward_line was successful? > thanks for all the help so far! > --Jacques _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk