Per /help $window the .prop for .tbtext is "returns the toolbar button text". I assume this is a typo as it behaves like it's the treebar text not toolbar.
Also, the .tbtext property does not behave consistently with the way .sbtext behaves, so this might be a bug.
//window -w3 @abc | echo -a $window(@abc).sbtext / $window(@abc).tbtext
//window -w0 @abc | echo -a $window(@abc).sbtext / $window(@abc).tbtext
.sbtext shows the text regardless whether or not the window is hidden from the switchbar. But .tbtext shows the name only if that window is visible in the treebar. It appears this inconsistency would be a bug.
Both .sbtext and .tbtext behave the same way regardless whether the treebar and/or switchbar themselves are visible/hidden.
Additional related /help glitches:
1. The list of -switches -abBcCde[N]fg[N]... for /window does not contain the capital "D", though there is a description for it below.
2. The list of +switches +bdeflLmnstx for /window includes +m but there is no description for +m below, so either this was a typo or it's an undocumented +switch that doesn't do anything that i could notice.