Actually looking at the code, this should already be supported.

Try registering with "register_python_event(name)".  See with context.i.

This registers the default python converter and should allow you to create and post python only events without writing any c++.

.martin


Hi David

I'm also interested in getting python-only events working. Were you able to get past this issue?

Thanks,
Brandon

On Wed, Dec 16, 2009 at 8:08 PM, David Erickson <deric...@stanford.edu <mailto:deric...@stanford.edu>> wrote:

    Martin Casado wrote:

        I don't see where you are setting the name of the event you're
        posting.


    That could be important ;)  Changed the code to be
    self.post(FlowOutEvent("flowoutevent")), now I get the following:

    00041|flowinstaller|ERR:flowoutevent posted
    00042|pyrt|ERR:flowoutevent has no C++ to Python event converter.

    -David


    _______________________________________________
    nox-dev mailing list
    nox-dev@noxrepo.org <mailto:nox-dev@noxrepo.org>
    http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org




_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to