<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">I have a need for some simple text-editing capabilities in a Tkinter program, and it occurred to me that IDLE is a Tkinter app that already has what I need in its file editor windows.  I thought it would be nice if I could just use one of those windows as a widget in my application, in place of a plain Tkinter Text widget. I took a quick look at idlelib/EditorWindow.pyw, but it appears that the program is not written as a reusable widget; it's hard-coded to be a toplevel window.<br><br>Before I start hacking at it myself, has anyone else modified IDLE to be able to reuse its windows in another application?  Or, alternatively, is there another freely-available (under the Python license or something compatible) Tkinter widget out there that has similar text-editing capabilities?<br><br></div><br /><hr />With Windows Live for mobile, your contacts travel with you. <a href='http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_Refresh_mobile_052008' target='_new'>Connect on the go.</a></body>
</html>