Add method to obtain the width of the Window title text

To determine the minimum width of a Window (including buttons on the buttonBar), one needs to be able to obtain the width of the title text of the Window.