GtkHTML widget is lightweight HTML viewer / container. It provides an easy way for
viewing HTML documents in your application and for layout UI of your
application throught HTML.
Details
gtk_html_new ()
GtkWidget* gtk_html_new (void);
GtkHTML widget contructor. It creates an empty GtkHTML widget.
GtkHTML widget constructor. It creates an new GtkHTML widget and loads HTML source from str.
It is intended for simple creation. For more complicated loading you probably want to use
GtkHTMLStream. See gtk_html_begin.
str :
A string containing HTML source.
len :
A length of str, if len == -1 then it will be computed using strlen.
Returns :
A GtkHTML widget, newly created, containing document loaded from input str.
Export the current document into the content type given by content_type,
by calling the function listed in receiver data becomes avaiable. When receiver is
called user_data is passed in as the user_data parameter.
html :
the GtkHTML widget
type :
receiver :
data :
Returns :
TRUE if the export was successfull, FALSE otherwise.