1. wxEuphoria - wxHtmlWindow - SelectionToText

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.

new topic     » topic index » view message » categorize

2. Re: wxEuphoria - wxHtmlWindow - SelectionToText

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

-Greg

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

3. Re: wxEuphoria - wxHtmlWindow - SelectionToText

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? sad

-Greg

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

4. Re: wxEuphoria - wxHtmlWindow - SelectionToText

ghaberek said...

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? sad

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

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

5. Re: wxEuphoria - wxHtmlWindow - SelectionToText

mattlewis said...

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

-Greg

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

6. Re: wxEuphoria - wxHtmlWindow - SelectionToText

mattlewis said...

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?

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

7. Re: wxEuphoria - wxHtmlWindow - SelectionToText

euphoric said...

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

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

8. Re: wxEuphoria - wxHtmlWindow - SelectionToText

ghaberek said...
euphoric said...

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

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

9. Re: wxEuphoria - wxHtmlWindow - SelectionToText

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

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

10. Re: wxEuphoria - wxHtmlWindow - SelectionToText


Moved to: Using wxEuphoria on Linux

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

Search



Quick Links

User menu

Not signed in.

Misc Menu