Select some text to see a tooltip with the size of your selection.

(That's not the most useful use of a tooltip, but it's a nicely simple example.)