Chandler UI Architecture
While working on the
the Markup Bar, I ran into the following code in
Detail.py
self.dynamicParent.widget.ToggleTool(self.toolID, shouldToggleBasedOnKind)
There is a lot of knowledge wrapped up in this line.
I was doing pretty well until I hit it.
Now I needed to find out where in
DetailStampButton's class hierarchy the attribute
dynamicParent was defined.
This is not a trivial task.
Ideally there would be a class hierarchy list or diagram somewhere and an easy way to find out what class defined what attributes.
Being on a Mac using
TextMate?, I felt a bit SOL.
Perhaps I could try using an IDE like
WingIDE?.
But I've heard that that's dead slow and not really usable on a Mac.
Most of the time I revert to using Unix commands to find things.
e.g.
find . -iname '*.py' -print0 | xargs -0 egrep -i foo
This can be slow and starts a large learning curve.
I already feel like I'm "behind" in my learning of how Chandler hangs together.
I started to do the deep learning curve thing and started writing up
WhereIsEverything.
Today I'm going to spend some time with
JohnAnderson and hopefully learn a lot more.
I will add what I learn to
WhereIsEverything as well as taking notes here.