I'm working on an app where I want a browser to select a GIF file. I'd like some advice and pointers to examples to look at. This is with Squeak 2.4 on Linux.
I'm likely to have a number of beginner questions. Is this the best for forum for them?
Thanks
I'm working on an app where I want a browser to select a GIF file. I'd like some advice and pointers to examples to look at. This is with Squeak 2.4 on Linux.
I'm likely to have a number of beginner questions. Is this the best for forum for them?
Probably so.
A good start would be to look at what the FileList does to support the 'open image in a window' option, which you will find in...
------------------- <FileList>openImageInWindow "Handle four file formats: GIF, JPG, Form stoteOn: (run coded), and BMP. Fail if file format is not recognized." | image | image _ Form fromFileNamed: self fullName. World ifNil: [FormView open: image named: fileName] ifNotNil: [World addMorph: (SketchMorph new form: image)]. -------------------
squeak-dev@lists.squeakfoundation.org