Re: forward_line
Jacques Garrigue <[email protected]>
| Newsgroups | gmane.comp.lang.ocaml.lib.gtk |
|---|---|
| Message-ID | <[email protected]> |
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" <[email protected]> > 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