[pygtk] Beginning of buffer in a TextView
Mírian Bruckschen
cleo.sl at gmail.com
Wed Aug 29 17:04:30 WST 2007
Hi Gian!
On 8/28/07, Gian Mario Tagliaretti wrote:
> 2007/8/28, Mírian Bruckschen:
> Hi Mírian,
>
> > I've been trying to do something that, I guess, is pretty easy, which
> > is to place the cursor in the beginning of a textview's buffer.
>
> I would do:
>
> start_iter = buffer.get_start_iter()
> buffer.place_cursor(start_iter)
Thank you very much! Works perfectly! :)
Cheers,
--
Mírian Bruckschen
More information about the pygtk
mailing list