Tim Rowledge wrote:
>> Some of the code might be specific to Tweak, but the plugin >> certainly is not. You should at least be able to call the >> primitives to open windows, display a form etc. >Absolutely. The original development testing was done with workspace >doits to open windows, display in them, fetch events from them. John >did some demo stuff to try to hook up individual project windows to >host windows. I think it should be a case of hooking individual >windows to host windows instead. Somebody with good knowledge of >morphic would need to look at that. See http://minnow.cc.gatech.edu/ >squeak/3862 >From this discussion, it sounds like this support will let Squeak/Tweak display its content in host windows, so for example Croquet might be able to display multiple views of a scene in host-controlled windows, if someone got creative with OpenGL. Somehow I had the impression that this support would allow the reverse - a host process, like Firefox or Excel, to display its window inside the Squeak/Tweak Display with some measure of interactivity with Squeak/Tweak events. Now I'm bummed out because I was hoping that this would close the "lack of a good Internet browser" gap. Now I'm curious how Sophie handles HTML (or other Internet-based) links. |
Am 16.10.2006 um 14:42 schrieb David Faught:
> Tim Rowledge wrote: >>> Some of the code might be specific to Tweak, but the plugin >>> certainly is not. You should at least be able to call the >>> primitives to open windows, display a form etc. > >> Absolutely. The original development testing was done with workspace >> doits to open windows, display in them, fetch events from them. John >> did some demo stuff to try to hook up individual project windows to >> host windows. I think it should be a case of hooking individual >> windows to host windows instead. Somebody with good knowledge of >> morphic would need to look at that. See http://minnow.cc.gatech.edu/ >> squeak/3862 > >> From this discussion, it sounds like this support will let > Squeak/Tweak display its content in host windows, so for example > Croquet might be able to display multiple views of a scene in > host-controlled windows, if someone got creative with OpenGL. > > Somehow I had the impression that this support would allow the reverse > - a host process, like Firefox or Excel, to display its window inside > the Squeak/Tweak Display with some measure of interactivity with > Squeak/Tweak events. Now I'm bummed out because I was hoping that > this would close the "lack of a good Internet browser" gap. Now I'm > curious how Sophie handles HTML (or other Internet-based) links. I thought you were working on the MediaView browser? - Bert - |
In reply to this post by David Faught
> this would close the "lack of a good Internet browser" gap. Now I'm
> curious how Sophie handles HTML (or other Internet-based) links Ah, well we cheat, a link is a reference object which in this case resolves to a URI, the URI handler then says oh look a http:// mmm who can handle this link URI, the class that leaps to the foreground is responsible for asking the operating system to open the URI. This of course on the mac triggers your browser of choice to open on the URL via an FFI call, same for windows too. Now of course if the link is a media object the sophie resource manager asks the URI handler who can read this URI. That of course triggers the URL logic to invoke the Squeak htttp logic to read the URI. Mind of course now that there is a CURL plugin we'll consider if that should be invoked to get the information. -- ======================================================================== === John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== === |
In reply to this post by David Faught
On 16-Oct-06, at 5:42 AM, David Faught wrote: > > curious how Sophie handles HTML (or other Internet-based) links. As a side note Sophie does not interpret HTML if imported, mind if you have say a million Euros we certainly can talk. However on the mac if you grab a chunk of textual/image/link data in Safari or FireFox that information does become RTF data on the clipboard. Then the Sophie RTF importer tries it's best to create a Sophie text tree that contains the text/font/size/spacing/leading/etc, with image and link data intact. -- ======================================================================== === John M. McIntosh <[hidden email]> Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com ======================================================================== === |
Free forum by Nabble | Edit this page |