Delivered-To: lablgtk at yquem.inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=HeBCYM4PTSCYOTAoyrb9cWa35NZsjr4ZurCbyIUr7Lo=; b=gxqH34YDH1eVzH0xh6F/z9FGmHjZkv2AY1yoWP294dewq6eik9Do7CvK9Z0grTNTOWwGgogiRiL9ZCfzhkvStzjFwXzTk2nrAfM8jpiUCrQiezKXW9RixZOWWbsdmItxKjDbTZDtHsM5uxDK2wgqBgWAUjKUwNv8yJcid5+WDH4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type; b=gXMiCtmj4BmP0QbAqj8cRuHOotwY4gMEaDMG3PtqiDPhj4BctaBoQ9ayD5c2D7nYuad1muCunCqqM1dPEjhVvu30l/R38DOTEBakuSpcheUvURtpujWLDJIdczoG6KiFrbypbhGyaAbkMQQ1mhx4mm1vNzzOQT5rGGkFEIoTJf8= Message-ID: Date: Thu, 27 Mar 2008 00:13:28 -0400 From: "Jacques Le Normand" To: lablgtk at yquem.inria.fr MIME-Version: 1.0 Subject: [Lablgtk] forward_line Mime-version: 1.0 Content-Type: multipart/mixed; boundary="===============0327332667==" Content-Length: 1842 --===============0327332667== Content-Type: multipart/alternative; boundary="----=_Part_1463_12969025.1206591208872" ------=_Part_1463_12969025.1206591208872 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_1463_12969025.1206591208872 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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


------=_Part_1463_12969025.1206591208872-- --===============0327332667== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Lablgtk mailing list Lablgtk@yquem.inria.fr http://yquem.inria.fr/cgi-bin/mailman/listinfo/lablgtk --===============0327332667==--