2015-11-12 7:23 GMT+01:00 Jeff Gray <j...@rogerthedog.com>: > In Pharo 4. > I'm writing a ui in spec and I want to be able to select and open a file on > a button click. > I can see one example in polymorph but I don't know if that can be used > from > spec. > Or am I missing something obvious? >
We don't have a spec based FileDialog (or FileChooserModel) yet. Do you want to integrate the FileChooserUI in your spec based UI, or just open a FileChooserDialog? If you just want to open a dialog, I would say, take the polymorph one. If you want to have the FileChooser as a part of your UI, you 'll have to create a new spec model for it. nicolai > > > > > -- > View this message in context: > http://forum.world.st/FileDialog-from-Spec-tp4860608.html > Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com. > >