set_text() sets a string of given text in the entry field.
$entry-gt;set_text("Programmed text entry");