[newbie] How do you save to a file?
Dan Ingalls
Dan.Ingalls at disney.com
Tue Apr 20 13:31:19 UTC 1999
"Stephan B. Wessels" <stephan.wessels at sdrc.com> wrote...
>I find myself wanting to save from a workspace pretty often. My solution was to
>subclass Workspace and add contents save code and a menu entry to make it
>happen. It's pretty simple to do. If there's interest I'll post the code here.
Another solution to this is to work in a fileList. If you don't like the extra realEstate consumed by the list part, just 'spawn' (cmd-o) the file. A lot of people don't kow about this feature of most browsers. In this case, it gives you something as simple as a workspace (without stored variables, it's true), but with file save available.
- Dan
More information about the Squeak-dev
mailing list
|