By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,986 Members | 1,551 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,986 IT Pros & Developers. It's quick & easy.

Embedding Python with Tkinter

P: n/a
I have written a Windows GUI application in C++ and I would like to
embed Python into the application to enable users to write plugins.

The problem is when the plugin tries to use Tkinter. Tkinter creates its
own root window, which I remove by calling:
root = Tk()

But when I create a new dialog with Tkinter, I have to create it without
a parent, which causes it to be shown in the task bar and I cannot make
it modal. Does anyone know how to create a Tkinter window as a child of
a window that was not created by Tkinter?

Ivan Johansen
Jan 11 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.