Re: Position of cursor

From: Date: Thu, 27 Oct 2005 11:30:20 +0000
Subject: Re: Position of cursor
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6296@lists.php.net to get a copy of this message
Thanks but this is incorrect, get_insert() returns GtkTextMark and not an integer what i need :( On 10/27/05, Jp <jp@jp-corner.uni.cc> wrote: > > Ivan Rodriguez escreveu: > > Hi > > > > It's posible to get the position of cursor in GtkTextBuffer, for example > if > > I have this text: > > > > This is the |text > > > > the cursor is de |, can I get the position? in this case the position is > 12 > > > > Thanks > > > > Hum, if I had to take a guess, I'd say GtkTextBuffer::get_insert() >

« previous php.gtk.general (#6296) next »