It does allow you to do that, check "currentTabText".