Has anyone ever thought about embedding Squeak into REALbasic?
REALbasic an OO BASIC development environment for Mac OS, that can compile to Mac OS and Windows. It's quite Mac-ey and allows rapid development of nicely native apps. (I've never worked with deployed Windows apps, but they're pretty nice on Mac OS)
I've been pondering this for a while, thinking that Squeak and REALbasic could be tied together some how to give Squeak a native face without having to write plug-ins for native interfaces, as well as having to re-write existing tools code or messing around with PluggableViews.
This has come up in my mind quite a few times, when faced with a need to write a quick and dirty app that I *could* do in BASIC, but it's more naturally done in my head in Smalltalk, but requires some degree of native look-and-feel. (In this case, dragging and dropoing files from the Finder)
Musings?
Aaron
Aaron Reichow :: Twin Ports ACM VP :: http://www.d.umn.edu/~reic0024/ "The profit system follows the path of least resistance and following the path of least resistance is what makes a river crooked." -U. Utah Phillips
Aaron J Reichow wrote: (In this case, dragging and dropoing files from the Finder)
Musings?
Drag and Drop from finder is possible with Squeak. gif, jpeg and bmp works. The rest is mapped as text and opened in a workspace. Write a thinge that maps your suffix and you are ready to roll :-)
Karl
PS Note that Finder has to run in foreground for drag and drop to work. Maybe this can be fixed ?
Karl Ramberg karl.ramberg@chello.se writes:
Drag and Drop from finder is possible with Squeak. gif, jpeg and bmp works.
Mmm, is this possible with any of the Linux file managers?
Sincerely, jsj
On 27 May 2001, J Scott Jaderholm wrote:
Karl Ramberg karl.ramberg@chello.se writes:
Drag and Drop from finder is possible with Squeak. gif, jpeg and bmp works.
Mmm, is this possible with any of the Linux file managers?
Nobody implemented the drag'n'drop prims for X, yet. There was a discussion a while ago, we sort-of agreed XDND support was what we want. (see http://www.newplanetsoftware.com/xdnd/). It is supported by Gnome, KDE, and Mozilla, and basically only leaves out Motif apps (like Netscape 4).
There are only four functions to be filled in sqUnixDragDrop.c. If someone takes the job, I can offer a generic mechanism for plugins to hook into the main X event handler (I did this for the XInput tablet support). It would be easier to just patch sqXWindow.c, but not as clean. Are you volounteering? ;-)
-- Bert
squeak-dev@lists.squeakfoundation.org