Re: Simple GtkHTML question?



> html = gtk_html_new ();
> /*
>  * Code for feeding the html data
>  */
> gtk_widget_show (html);
> 
> Now what I want is the part which I commented. What is the minimal number
> of functions required to do so.

stream = gtk_html_begin (GTK_HTML (html));
gtk_html_write (GTK_HTML (html), stream, buffer, length);
gtk_html_end (GTK_HTML (html), stream, GTK_HTML_STREAM_OK);

-- Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]