Week 12 - July 13, 2008

Hey there, another week is gone and at least this time I can tell you something half useful. I’ve finally started reading and understanding, as possible, more of IDLE’s code in order to give it a notebook. Right now I know big part of its code is dependent on a single instance attribute defined in EditorWindow (self.text), which is possibly very bad for me, besides this I’ve removed all the "from Tkinter import *" uses inside it in an attempt to make my life easier to some extent. For this next week, I’m planning to effectively start an attempt to add a notebook to IDLE.

Two minor changes to the ttk wrapper took place this week, which shouldn’t cause any trouble if you are using it. The get_children method of the Treeview widget may be called without arguments now, which will cause it to returns all root children. The other change is that now there is a public function called tclobjs_to_py which you can use for a dict returned from a widget.configure(), for example, that will convert any Tcl objects around there to Python objects.