1. wxEuphoria - file_selector - multiple files selected
- Posted by engayola Nov 29, 2010
- 1453 views
Hello. I need to load multiple files selected. The following line of code should make this multiple selection.
file = file_selector( 0, "Abrir", {"","","","algo (*.*)|*.*"}, wxOPEN + wxMULTIPLE)
However, the sequence "file" brings a single. Can someone help? Thank you very much. Greetings. Marcelo
2. Re: wxEuphoria - file_selector - multiple files selected
- Posted by mattlewis (admin) Nov 30, 2010
- 1488 views
Hello. I need to load multiple files selected. The following line of code should make this multiple selection.
file = file_selector( 0, "Abrir", {"","","","algo (*.*)|*.*"}, wxOPEN + wxMULTIPLE)
However, the sequence "file" brings a single. Can someone help? Thank you very much. Greetings. Marcelo
It looks like this isn't correct. The file_selector() function uses wxFileSelector, which does not support multiple files. In order to get multiple files, wxFileDialog will need to be wrapped.
I hope to get a new version of wxEuphoria out soon, along with eu4. I'll try to get this wrapped for the next release.
Matt
3. Re: wxEuphoria - file_selector - multiple files selected
- Posted by engayola Nov 30, 2010
- 1391 views
Wow!. I mistook the "wxMULTIPLE".
Matt thank you very much.
PS: I noticed that wxEuphoria doesn't work with version 2.8.1911 of libwxgtk2.8-dev, since the file "usr/lib/libwx_gtk2u_media-2.8.so" doesn't seem to be present (at least in linux mint 10).
Greetings.
4. Re: wxEuphoria - file_selector - multiple files selected
- Posted by mattlewis (admin) Nov 30, 2010
- 1397 views
Wow!. I mistook the "wxMULTIPLE".
Well, it was my fault for putting that there to begin with.
Matt thank you very much.
PS: I noticed that wxEuphoria doesn't work with version 2.8.1911 of libwxgtk2.8-dev, since the file "usr/lib/libwx_gtk2u_media-2.8.so" doesn't seem to be present (at least in linux mint 10).
Yes, I have similar issues on Kubuntu 10.10. I actually wrapped the wxFileDialog class this morning and checked it into svn. It requires euphoria v4, but it's pretty easy to build from source (IIRC, you'll need the wxWidgets dev packages and the gtk2+ dev packages). It builds correctly in the absence of the media lib, though right now you get warnings about not linking those functions.
If you do build from source, it will try to build the documents, which require eumakedoc, which probably requires euslibs. All in all, it's probably easier to ignore the "failure" to build the docs.
Matt
5. Re: wxEuphoria - file_selector - multiple files selected
- Posted by engayola Nov 30, 2010
- 1332 views
Unfortunately I'm a programmer very rustic, which also has serious problems understanding English. Wxeuphoria I work with version 12, compiled with the classics by ". / configure" and "make". Also, try to follow their advice.
Greetings and thank you very much.
Marcelo
6. Re: wxEuphoria - file_selector - multiple files selected
- Posted by Vinoba Nov 30, 2010
- 1286 views
...... I hope to get a new version of wxEuphoria out soon, along with eu4. I'll try to get this wrapped for the next release.
Matt
Awaiting anxiously.