Hi Nils, To get events back from underlying browser it would probably be best to go with using QWebKit based embedded browser rather than the existing gecko/llmozlib plugin that I wrote last year. QWebKit is far more amenable to getting various events back, although not perfect it's turned out to be better suited for integration with 3rd party apps, whereas gecko has turned out to be far less friendly for doing this type of work. QWebKit is also pretty documented so is easy to get up to speed on.
So... why talk about a QWebKit based embedded browser? Well I have replacement for the gecko plugin waiting in the wings, based on QWebKit, and this will replace the gecko plugin for the next OpenSceneGraph-2.10 release. I haven't sorted out exactly how I'll integrate the the QWebKit integration as it's a little bit different than the highly encapsulated gecko plugin. As a first step to this full integration I've just checked in a osgQtBrowser example into svn/trunk so you can look at this and experiment. You'll need to install Qt4.5 with QWebKit, but this part of Ubuntu 9.04 repository so it's easy to pull in. Like the gecko plugin it shares the inability to properly play flash videos, the flash plugin actually loads and plays the audio for the flash, but the graphics don't appear. Robert. On Thu, Sep 17, 2009 at 1:17 PM, Nils <werbung.openscenegraph....@drego.de>wrote: > Hi, > > Iam testing the osgPlugin gecko to embed a browser window to my osg world. > I need events from the browser when the url has changed, for example, a > user clicked on a link in the browser window. > > Normally, the function NotifyInvalidated (class LLEmbeddedBrowserWindow) > should be called. Normally. I have the same problems with the callback > function onLocationChange (virtual). This callback is never called. > > I tested my app with an standard browser window and I clicked on some > links. The functions never called. Why? > > Iam using Linux (Ubuntu 9.04) with cmake. > > Thanks > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org