Get the text displayed on the button
a Button
the text for the button. This must not be freed by the application