As I've mentioned in various earlier emails, the Linux port of the
application I'm working on uses the basic GTK+ Mozilla embedding widget.
It basically works, but I have a further bunch of possibly naive
questions about it:

1. On many web pages, my debugging code shows that there's a whole
    bunch of net_state_all signals emitted for a NULL URI.  What on
    earth are these?

2. Is there a recommended way of determining when the document has
    finished loading?  There seems to be a couple of different signals
    I can use.  I'm currently using net_state_all and checking for the
    "stop" and "is document" flags, but signals still seem to fire
    for the page after that net_state_all arrives.  Should I instead
    be keeping a count based on net_start (increment) and net_stop
    (decrement) signals, and assuming when the count falls back to zero
    that the document has finished loading?

3. Is the API compatible across different versions?  I'm compiling and
    linking against the 0.9.1 milestone but want users to not have to
    download my embedding package if they already have a (possibly later)
    version of Mozilla installed.  I was hoping the answer is yes, but
    I suspect it is no because when I use milestone 0.9.4, calls to
    gtk_moz_embed_append_data() seg fault.

Thanks,

     Bernie

Reply via email to