Thhe whole point of an entry widget in most cases is to retrieve entered text.
So an entry example should show what actually happens if text is entered.
I suggest ADD around line 20
self.entry.connect("activate", self.GotText)
and ADD around line 76
def GotText(self,e):
print ('Got' ,e.get_text())