|
From: Tim B. <tre...@ho...> - 2006-11-26 07:13:31
|
Joe English wrote: > Two items on your list aren't planned for inclusion, > I was hoping to get rid of these: > >> Ttk_LayoutFindNode >> Ttk_LayoutNodeInternalParcel > > These don't seem quite right -- especially Ttk_LayoutNodeInternalParcel > (the name itself is a sign that the interface isn't right yet) -- > what did you need these for? Ttk_LayoutFindNode is used by a bunch of widgets but I was just following the example provided by treeview, namely to get the "client" node where the contents of the tree should be drawn (inside borders). Ttk_LayoutNodeInternalParcel was used in one instance for the same reason treeview uses it, namely to subtract the internal padding of the "client" node. I also used it in two hack-ish spots to subtract any padding around the indicators so I could align them with the dotted lines that treectrl draws between items. -- Tim Baker |