1. wxEuphoria - file_selector - multiple files selected

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

new topic     » topic index » view message » categorize

2. Re: wxEuphoria - file_selector - multiple files selected

engayola said...

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

new topic     » goto parent     » topic index » view message » categorize

3. Re: wxEuphoria - file_selector - multiple files selected

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.

new topic     » goto parent     » topic index » view message » categorize

4. Re: wxEuphoria - file_selector - multiple files selected

engayola said...

Wow!. I mistook the "wxMULTIPLE".

Well, it was my fault for putting that there to begin with.

engayola said...

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: wxEuphoria - file_selector - multiple files selected

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

new topic     » goto parent     » topic index » view message » categorize

6. Re: wxEuphoria - file_selector - multiple files selected

mattlewis said...

...... 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.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu