Re: php-gtk2 php5 question GtkTextBuffer => GtkTextView (xmlconverter.glade)
| From: | PPK-Webprogramm CH Gordevio www.ciz.ch | Date: | Mon, 24 Oct 2005 20:52:06 +0000 |
| Subject: | Re: php-gtk2 php5 question GtkTextBuffer => GtkTextView (xmlconverter.glade) | ||
| References: | 1 2 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1924@lists.php.net to get a copy of this message | ||
Christian Weiske ha scritto:
i think GladeXML help to not waist time to build gtk-widget... and by steep 2 build function or extends class... I test to make a new classname extends GladeXML to have a permanent $this->mybuffer to set text.... in to GtkTextView... I hope the GladeXML class accept: <signal name="clicked" handler="self:open_file_box" last_modification_time="Sun, 23 Oct 2005 16:02:07 GMT"/> Tanks.... peter www.ciz.chI test to insert xml text in to a <widget class="GtkTextView" id="textbox"> gtk1 work so $textbox->insert(null, null, null, $buffer); but gtk2 not work... phpgtk2-demo.php in the demos/ directory of the php-gtk CVS module should help. Ok Tanks.... wenn phpgtk2-demo.php begin from a &new GladeXML('demo.glade') then the demo is perfect...