Re: GtkHTML and his API functions ...
| From: | Alan Knowles | Date: | Thu, 29 Aug 2002 00:27:59 +0000 |
| Subject: | Re: GtkHTML and his API functions ... | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-2376@lists.php.net to get a copy of this message | ||
In principle
$this->save_callbackdata= "";
$this->gtkhtml <http://docs.akbkhome.com/phpmole/html_editor.html#$gtkhtml>->save(array(&$this,"save_to_data_callback")); $this->save_callbackdata <http://docs.akbkhome.com/phpmole/html_editor.html#$save_callbackdata> = trim <http://www.php.net/trim>($this->save_callbackdata <http://docs.akbkhome.com/phpmole/html_editor.html#$save_callbackdata>);
function save_callbackdata($data) {
$this->save_callbackdata <http://docs.akbkhome.com/phpmole/html_editor.html#$save_callbackdata> .= $data;
}
epplestun wrote:
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?