Replies: 2 comments 2 replies
-
You should be able to.. You'll need to reference both Eto and the platform assembly for it to work. You'll also need to get all of the dependencies for the platform. E.g. Eto.WinForms requires both import clr
clr.AddReference('Eto')
clr.AddReference('Eto.WinForms')
from Eto.Drawing import *
from Eto.Forms import *
from Eto.WinForms import *
class MyForm(Form):
def __init__(self):
# Create child controls and initialize form
self.Content = Label(Text = "Hello IronPython")
app = Application(Platform())
app.Run(MyForm()) |
Beta Was this translation helpful? Give feedback.
2 replies
-
Thanks, IronPython prompts more detailed information. While pythonnet, which is used by me, does not. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As the title says, is there a way to use Eto in python not in Rhino? Thanks
My first try
says
Beta Was this translation helpful? Give feedback.
All reactions