1. wxEuphoria - wxHtmlWindow - SelectionToText
- Posted by Jerry_Story Sep 22, 2009
- 1385 views
- Last edited Sep 23, 2009
Could someone wrap SelectionToText in wxHtmlWindow? Thanks.
This would enhance the usefulness of my latest wxEuphoria project. It would make possible a clipboard feature for the html window.
2. Re: wxEuphoria - wxHtmlWindow - SelectionToText
- Posted by ghaberek (admin) Sep 23, 2009
- 1300 views
Your wish is my command! It's basically a one-liner anyway...
object WXEUAPI selection_to_text(int htmlwin) { return get_sequence( ((wxHtmlWindow*)htmlwin)->SelectionToText() ); }
The wxEuphoria trunk has been updated.
-Greg
3. Re: wxEuphoria - wxHtmlWindow - SelectionToText
- Posted by ghaberek (admin) Sep 23, 2009
- 1297 views
I seem to be having trouble getting selection_to_text() into wxeud.e. wrap.exw doesn't seem to be picking up the change.
Matt - help?
-Greg
4. Re: wxEuphoria - wxHtmlWindow - SelectionToText
- Posted by mattlewis (admin) Sep 23, 2009
- 1274 views
I seem to be having trouble getting selection_to_text() into wxeud.e. wrap.exw doesn't seem to be picking up the change.
Matt - help?
Looks to me like it's being picked up, although wrap.exw actually writes to wxeud2.e. It's showing up there for me.
Matt
5. Re: wxEuphoria - wxHtmlWindow - SelectionToText
- Posted by ghaberek (admin) Sep 23, 2009
- 1243 views
Looks to me like it's being picked up, although wrap.exw actually writes to wxeud2.e. It's showing up there for me.
Dammit. It's been a while since I've worked on wxEuphoria. This is what I get for jumping back in with both feet first at 7:30 in the morning.
-Greg
6. Re: wxEuphoria - wxHtmlWindow - SelectionToText
- Posted by euphoric (admin) Sep 23, 2009
- 1224 views
Looks to me like it's being picked up, although wrap.exw actually writes to wxeud2.e. It's showing up there for me.
What's difference twixt wxeud.e and wxeud2.e?
7. Re: wxEuphoria - wxHtmlWindow - SelectionToText
- Posted by ghaberek (admin) Sep 23, 2009
- 1201 views
What's difference twixt wxeud.e and wxeud2.e?
So wrap.exw doesn't bork your entire wxeud.e. If wxeud2.e comes out the way you want, use it to overwrite wxeud.e.
-Greg
8. Re: wxEuphoria - wxHtmlWindow - SelectionToText
- Posted by mattlewis (admin) Sep 23, 2009
- 1196 views
What's difference twixt wxeud.e and wxeud2.e?
So wrap.exw doesn't bork your entire wxeud.e. If wxeud2.e comes out the way you want, use it to overwrite wxeud.e.
wrap.exw is used to automatically generate the euphoria wrappers for the wxEuphoria C wrappers for wxWidgets. It generates the define_c_func statements as well as euphoria wrappers for calling those. Basically, it makes sure that you have wrappers for everything in there. There are hundreds of routines wrapped by wxEuphoria, and I got tired of doing it all by hand a long time ago.
Matt
9. Re: wxEuphoria - wxHtmlWindow - SelectionToText
- Posted by Fendaril Sep 23, 2009
- 1184 views
How would you get wxEuphoria to be detected by the interpreter anyway.I am trying to get it to work with linux(ubuntu).
Forked into: Using wxEuphoria on Linux
10. Re: wxEuphoria - wxHtmlWindow - SelectionToText
- Posted by mattlewis (admin) Sep 23, 2009
- 1170 views
Moved to: Using wxEuphoria on Linux