[Pharo-project] FileChooser (Squeak) = ........ (Pharo)

Hannes Hirzel hannes.hirzel at gmail.com
Fri Oct 15 11:44:41 EDT 2010


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 at 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 at 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 at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>




More information about the Pharo-dev mailing list