Re: Automating GUI's using Euphoria
- Posted by ghaberek (admin) Jan 22, 2013
- 1467 views
After some searching, I came across a Python package called Autopy ( http://www.autopy.org ) which seems to meet the requirements and looks fairly simple, so I was wondering how easy it would be to "wrap" the C source code so that the functions can be used by Euphoria?
Just glancing at that library, I imagine it will be pretty difficult to wrap into Euphoria since it is written to export PyObject objects and complies with Python's external API. It would probably be easier to gut the raw C code out of the library, compile it directly, and then wrap that. In which case, you'd end up with an almost entirely different library.
Thanks bugmagnet. I recall that Greg Haberek said he was going to write a tutorial on wrapping C functions, I wonder if he's got around to it yet?
I still plan to, I just haven't had a lot of time. I'm waiting for the "right" project to come along when I have to wrap a library that is relatively straightforward yet complex enough to show most of the intricacies involved. Then I can document the process in a tutorial as I go.
-Greg