Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
FAQ: How can I give my Morphic world a wallpaper?
Last updated at 4:37 pm UTC on 12 March 2004

Answer:

Cooking up a BookMorph: Try the following:
 | img |
 img := GIFReadWriter formFromFileNamed: 'image.gif'.
 World color: (InfiniteForm with: img).
 World fullRepaintNeeded.
You can also use the FileList's 'background' feature to do so. It supports Squeak's common file format (GIF, JPG, PNG, Form storeOn: (run coded) and BMP). This feature works in MVC world as well. To proceed, you need to open a FileList. Search for your favorite wallpaper and then select it with the yellow button. If you chose a valid supported file, you should see 'background'. Select it and voila. – Ian Trudel

Last update [01-Mar-03] chbu