Python Browser Applets
Terry Hancock
hancock at anansispaceworks.com
Thu Nov 7 15:35:30 EST 2002
More information about the Python-list mailing list
Thu Nov 7 15:35:30 EST 2002
- Previous message (by thread): Python Browser Applets
- Next message (by thread): Python Browser Applets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thursday 07 November 2002 02:48 am, wrote: > > It seems like this would have to mean that the > > "Netscape Methods" would include drawing primitives > > or a canvas object that can be drawn to, > > That would be a good way for it to work! But it doesn't :-( Grumble. :-( > > but I haven't found it yet (Or maybe I'm misunderstanding > > how it works, and the plugin has to talk to the underlying window > > library -- but that seems bizarre and awkward). > > The plugin creates a native window and uses platform specific drawing > functions. Ah well, I guess SDL+PyGame+PyUI can come to the rescue here. At least the SDL+PyGame renderer is already written. So it's now just a question of handing that native window to SDL. Thanks for clearing that up -- now I'm not chasing a wild goose in the API, anyway. > Yes, writing a cross platform plugin is lots of work, especially if you > want it to integrate well into the browser, such as cooperating in sizing > and in event routing including command keys. It is simpler if your plugin > area is a fixed size area that is isolated from the browser. Still interesting, though. I'll probably come back to it after I get the Jython solution working, which I'm going to tinker with over the weekend. (Looks like only ~200 lines of python need to be written for that, but I'll know for sure when I try it). The stand-alone application model shouldn't require any work at all, except documentation. Cheers, Terry -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com
- Previous message (by thread): Python Browser Applets
- Next message (by thread): Python Browser Applets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list