Re: php-gtk2 GtkTextIter or GtkTextBuffer

From: Date: Tue, 25 Oct 2005 17:14:36 +0000
Subject: Re: php-gtk2 GtkTextIter or GtkTextBuffer
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6268@lists.php.net to get a copy of this message
PPK-Webprogramm CH Gordevio www.ciz.ch wrote:
But now edit text inside GtkTextView ok...... but to get return text can i use GtkTextBuffer() ? or wath is the job from gtktextiter ?? http://ciz.ch/svnciz/new_php_gtk2/xmleditor/Doc_PHP_Class/GtkTextIter.html how return text?
If the manual that Christian pointed you to doesn't have what you are looking for yet, check the gtk.org manual. You will need to use a combination of these functions: GtkTextBuffer::get_text() GtkTextBuffer::get_iter_at_offset() GtkTextBuffer::get_start_iter() GtkTextBuffer::get_end_iter() With those you should be able to grab all the text you need. Scott

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