lol, I just realised I forgot to push my changes to it (I am working on fixing a leak on dialogs, so probably you will need to pull again soon, btw :P)
anyway, you can pull gtk-bindings now and you will have the right accessors.
Also, I have been working on a wrapper to help with the Gtk details (the idea is to integrate something to the newtools, so I need something that eventually can be mapped to a morphic component too ;) )
You can file in the exports I sending you (check the right order ;) )
And you should be able to execute what is in NmFileChooserDialog class>>example to get something like this:
I think this can point you in the right direction.
BUT! This is very early work... do not expect something ready for production :)
Esteban
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
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html