RE: [PHP-GTK] GtkHTML and his API functions ...

From: Date: Wed, 28 Aug 2002 19:29:53 +0000
Subject: RE: [PHP-GTK] GtkHTML and his API functions ...
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-2374@lists.php.net to get a copy of this message
Hi, I see that your question is more complicated than this. But I learned so far to save into a text file like this: function clicked_save($button, $text) { $aa=$text->get_chars(0,-1); $filename = "c:\php\samples\data.txt"; $fd = fopen ($filename, "w"); $result = fwrite ($fd, $aa); fclose ($fd); return false; } $text = &new GtkText(); $scrlwin->add($text); $text->set_editable(true); // Now we add the second button to the horizontal box. $button = &new GtkButton('Save'); $button->connect("clicked", "clicked_save", $text); brgds Alexey -----Original Message----- From: epplestun [mailto:epplestun@alaplaya.com] Sent: Wednesday, August 28, 2002 10:17 PM To: php-gtk-general@lists.php.net Subject: [PHP-GTK] GtkHTML and his API functions ... Hi I'm working with the GtkHTML widget, I read all his API funtions in the spurce of gtkhtml.h an .c but when can I found information about this? I see the funcion save() but how can I take the the source who create with th insert_html() function ?¿, for example I have a button who inserts a table in the gtkhtml widget, and then I want to save the page in .txt for example with the source, how can I do this? -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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