Code that deals with time range selection of a track?

Hello,

I am a competent C# programmer and have been mucking around with the source code of Audacity. Unfortunately, I am new to C/C++ and am having trouble locating specific “parts” of the program.

After I have imported some audio and am presented with the different “Tracks” and "TrackPanel"s (made it that far, haha) where can I find the relevant code that deals with when you select a time range within a Track using the mouse by clicking and dragging?

Where can I find the code that deals with when you select a time range on the “AdornedRulerPanel” (I think)?

Thanks in advance.

I’m not a C programmer (any flavour), but here are some links that you may find helpful:
http://wiki.audacityteam.org/wiki/ArchitecturalDesign
http://www.aosabook.org/en/audacity.html

Thanks!

This is exactly what I was looking for!