Re: php-gtk2 GtkTextIter or GtkTextBuffer
| From: | PPK-Webprogramm CH Gordevio www.ciz.ch | Date: | Tue, 25 Oct 2005 16:42:57 +0000 |
| Subject: | Re: php-gtk2 GtkTextIter or GtkTextBuffer | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1936@lists.php.net to get a copy of this message | ||
Steph Fox ha scritto:
Hi, I'm afraid I can't help you without looking things up (Christian probably can). But can I ask, please, for you to send user side questions to the php-gtk-general list in future rather than to php-gtk-dev? We're quite noisy enough on the dev list as it is, we're starting to drive Andrei crazy :) Ok .... i think the subjekt php-gtk2 is dev php-gtk-dev wenn no manual exist i write self thephp-gtk2 manual.... http://ciz.ch/svnciz/new_php_gtk2/xmleditor/Doc_PHP_Class/ from a array $reflect = new ReflectionClass($classname); http://ciz.ch/svnciz/new_php_gtk2/xmleditor/inc_class/Debug.php I see your mail ... if php-gtk2 doc run on zend studio? and sintax? i have one zend studio licence ciao peter www.ciz.ch
- Steph ----- Original Message ----- From: "PPK-Webprogramm CH Gordevio www.ciz.ch" <ciz@ciz.ch> To: "PHP-GTK dev" <php-gtk-dev@lists.php.net> Sent: Tuesday, October 25, 2005 5:21 PM Subject: [PHP-GTK-DEV] php-gtk2 GtkTextIter or GtkTextBufferHi list , Ok now i can insert text on a GtkTextView <snip full =>http://ciz.ch/svnciz/new_php_gtk2/xmleditor/xmlconverter.phpfunction __Set_Text_Buffer($text) {//// work to set text on //// $this->text_body = new GtkTextView(); /// :-) /// ///// $this->text_body->set_buffer($this->text_buffer); $buff = &new GtkTextBuffer(); $buff->set_text($text,strlen($text)); return $buff; }snip> 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? Tanks peter www.ciz.ch function __Return_Text_Buffer() {///$text = $this->text_buffer->get_char_count(); //// work /// $text = $this->text_body->get_name(); //// work /// $text = $this->text_body->get_property('justification'); ///not work$text = $this->text_body->get_buffer(); $op = $text->get_data('text'); ///// null?? return $op; }-- PHP-GTK Development Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php