you can look at

http://lxr.mozilla.org/seamonkey/source/embedding/browser/gtk/src/EmbedProgress.cpp

my 2 cents.

On 2 Nov 2006 01:52:16 -0800, MartinI <[EMAIL PROTECTED]> wrote:

Hello,

im trying to create a processbar to show the user the loading state of
the site.

I know that there is the nsIProgressListener with the methods

onLocationChange
onProgressChange
onSecurityChange
onStateChange
onStatusChange

Where can I find a good example or documentation which shows how to use
these methods.
How can I indicate that the whole site has been loaded?

At the moment I use onProgressChange() to indicate activity of the
loading process.
onStateChange reports me that an request is done (this event matches
very often opening one site, I think that it is triggered each time an
image is loaded e.g.)

Hope you can tell me something about building a process bar :)


--
--Antonio Gomes
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to