Gets the text in the layout.
The returned text should not be freed or modified.
the text in the @layout