a simple method to change the wallpaper

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

a simple method to change the wallpaper

nacho



PasteUpMorph>>setBackgroundImage: aFilename
                "Sets the graphic file provided as a wallpaper"
                self runningWorld backgroundImageData: aFilename asFileEntry binaryContents.


Then you go to the File List and copy the name of the file in the clipboard. Open a workspace:

self runningWorld setBackgroundImage: '<paste here>'

screenshot.jpg
Nacho Smalltalker apprentice. Buenos Aires, Argentina.