[Python.NET] Showing modal .NET dialogs from Python

Aaron Watters awatters at connotate.com
Thu Mar 11 09:49:04 EST 2004

Just guessing:

I think you probably need to start up a "main window"
before you do a modal dialog in order to get background
threads that handle GUI events started.

But I'm way out of my areas of expertise here.

   -- Aaron Watters
  ----- Original Message ----- 
  From: Jill-Connie Lorentsen 
  To: pythondotnet at python.org 
  Sent: Thursday, March 11, 2004 9:16 AM
  Subject: [Python.NET] Showing modal .NET dialogs from Python

    I am new to this, so please excuse me if I'm not making myself 100% clear.

    My colleague is writing a modal dialog using .NET. I want to show it from Python, but I can't figure out how. 

    I guess it'll be something like:

    import CLR
    import CLR.System.Windows.Forms as MyForm
    from MyColleaguesFile import MyColleaguesForm

    MyForm = MyColleaguesForm


    I've looked at the helloform, splitter and wordwin examples, the mailinglist archive etc, but I feel like I'm missing something. Is it even possible to do what I want to do?




  Python.NET mailing list - PythonDotNet at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythondotnet/attachments/20040311/b74de9ad/attachment.html

More information about the PythonDotNet mailing list