I want to obtain the frame's view after loading is complete.
Well this part is easy: Just provide a WebFrameLoadDelegate with the
- webView:didFinishLoadForFrame: method and place your code there.
Make sure to check that you have the frame you are looking for as
this method will get called for each frame of the page that finishes
loading.
That is,
only the region that is viewable(clipped).
Use the frame parameter of the above method to get the WebFrameView.
It's a subclass of an NSView.
Also, is there a way to
delay display of the frame until loading is complete?
Don't know about that. I think there is some tunable way to delay the
display of incomplete pages. You might be able to (mis)use that for
your purpose. Maybe someone else has a better idea though.
Why do you want to delay the display though? It sounds like getting
the notification that the load is complete should be what you really
want.
I would like to make a graphical context of the view so I can 'do
stuff' with it, that's why I'd like to find out when the displaying
of the frame is complete.
Maybe call NSViews - bitmapImageRepForCachingDisplayInRect: method on
the above WebFrameView?
HTH
Mike
--
Mike Fischer Softwareentwicklung, EDV-Beratung
Schulung, Vertrieb
Web: <http://homepage.mac.com/mike_fischer/index.html>
Note: I read this list in digest mode!
Send me a private copy for faster responses.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden