$text->Contents("") Query or change the entire contents of the text wid- get. If no arguments are given, the entire contents of the text widget are returned. If any arguments are given, the entire contents of the text widget are deleted and replaced by the argument list.