[Pharo-project] FileChooser (Squeak) = ........ (Pharo)
Hello I am porting an application from Squeak to Pharo (actually the moose-seaside-glamour image) and I wonder what the equivalent class of FileChooser is? There are five 'Chooser' classes in Pharo 1.1 but no FileChooser. Thank you for the answer in advance Hannes
It seems to be FileDialogWindow So the question is how is the following snippet translated. The examples I found in the image did not work for some reason. "Squeak" fc := FileChooser new. fc initializeAsDialogBox. fc open. fc fullName On 10/15/10, Hannes Hirzel <hannes.hirzel@gmail.com> wrote:
Hello
I am porting an application from Squeak to Pharo (actually the moose-seaside-glamour image) and I wonder what the equivalent class of FileChooser is?
There are five 'Chooser' classes in Pharo 1.1 but no FileChooser.
Thank you for the answer in advance
Hannes
On Oct 15, 2010, at 3:29 01PM, Hannes Hirzel wrote:
It seems to be FileDialogWindow
So the question is how is the following snippet translated. The examples I found in the image did not work for some reason.
"Squeak" fc := FileChooser new. fc initializeAsDialogBox. fc open. fc fullName
On 10/15/10, Hannes Hirzel <hannes.hirzel@gmail.com> wrote:
Hello
I am porting an application from Squeak to Pharo (actually the moose-seaside-glamour image) and I wonder what the equivalent class of FileChooser is?
There are five 'Chooser' classes in Pharo 1.1 but no FileChooser.
Thank you for the answer in advance
Hannes
UIManager default chooseFileMatching: '*' ? Cheers, Henry
Yes, good idea. Something like this which is in Squeak and Pharo. The snippet as such however does not work... It chooses directories and does not give the full path. --Hannes On 10/15/10, Henrik Johansen <henrik.s.johansen@veloxit.no> wrote:
On Oct 15, 2010, at 3:29 01PM, Hannes Hirzel wrote:
It seems to be FileDialogWindow
So the question is how is the following snippet translated. The examples I found in the image did not work for some reason.
"Squeak" fc := FileChooser new. fc initializeAsDialogBox. fc open. fc fullName
On 10/15/10, Hannes Hirzel <hannes.hirzel@gmail.com> wrote:
Hello
I am porting an application from Squeak to Pharo (actually the moose-seaside-glamour image) and I wonder what the equivalent class of FileChooser is?
There are five 'Chooser' classes in Pharo 1.1 but no FileChooser.
Thank you for the answer in advance
Hannes
UIManager default chooseFileMatching: '*' ?
Cheers, Henry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (2)
-
Hannes Hirzel -
Henrik Johansen