[Python.NET] Cast PyObject to RoutedEventHandler

WARD Steve <Steve.Ward-EXCgb/[email protected]> Tue, 19 Jun 2018 15:37:42 +0000
Newsgroups gmane.comp.python.dotnet
Message-ID <[email protected]>
Can anyone tell me how to cast or Convert (or use a TryGet, or As whatever...), a PyObject (a Python function), to a C# RoutedEventHandler?

The Python function:

def OnStartButton(sender,args):
    #do stuff
    pass

Thanks
Steve
___________________________________________________________________________
This e-mail is confidential and is for the addressee only.   Please refer to
www.oxinst.com/email-statement<http://www.oxinst.com/email-statement> for regulatory information.

_________________________________________________
Python.NET mailing list - [email protected]
https://mail.python.org/mailman/listinfo/pythondotnet