Should really be called `getText`, as in many GUI systems the text is just one graphical part of the button.