GtkHTML programming

http://primates.ximian.com/~rodo/programing_with_gtkhtml_tutorial/guadec.html

Some useful functions of gtkhtml:

1. gtk_html_begin_content(), then gtk_html_write(), at last gtk_html_end().
2. gtk_html_set_base(), gtk_html_jump_to_anchor(), gtk_html_load_empty().
3. Contructor: gtk_html_new()

Signals:
“url-requested“
“obj-requested“ (embedded objects)
“load-done“
“submit“
“size-changed“
“link-clicked“
“button-press-event“
“redirect“
“title-changed“
“on-url“

The best startpoint is test/example along with gtkhtml. gtkhtml/src/testgtkhtml. It depends on 3 files: testgtkhtml.c, htmlurl.h, htmlurl.c. And these 3 files are not part of libgtkhtml.

Or, you can see chmsee's implementation http://211.92.88.40/~zhong/

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

To submit your comment, click the image below where it asks you to...
Clickcha - The One-Click Captcha