[Pharo-users] Re: Spec Gtk Applications - Implementing File open/save/(print?) dialogs

2021-06-17 Thread kmo
Wow! Thanks so much Esteban for taking all the time and trouble to provide this. I'll have a play with it. Ken -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Re: Spec Gtk Applications - Implementing File open/save/(print?) dialogs

2021-06-17 Thread kmo
Thanks Esteban. That's what I needed. I've got the dialog to open, like this - generateRoseButton action: [ (GtkFileChooserDialog newOpenFileTitle: 'Hello') showAll; run ] But how do you get the chosen filename back? Ken --

[Pharo-users] Re: Spec Gtk Applications - Implementing File open/save/(print?) dialogs

2021-06-17 Thread Esteban Lorenzano
Hello, if you want to play with the direct Gtk dialog, you have GtkFileChooserDialog... take a look at it :) Esteban On Jun 17 2021, at 1:45 pm, kmo wrote: > Hi - > > When writing a Gtk app using Pharo Spec2 are there any facilities for > standard system dialogs - open file / save file / etc - o