PyGTK setting text of an entry (absolute beginner)
I'm a total PyGTK noob, just to get that out there.
I'm trying to set an entry's text with this code:

    def on_button1_clicked(self, builder, data = None):
        gtk.Entry(txtInput).set_text("Hello")
but when I click the button I get a type error asking for an integer somewhere on the second line of that code. What's going on? I'm not sure what I'm doing wrong and Google hasn't helped.
TIA

PyGTK setting text of an entry (absolute beginner)
===

I'm a total PyGTK noob, just to get that out there.
I'm trying to set an entry's text with this code:

    def on_button1_clicked(self, builder, data = None):
        gtk.Entry(txtInput).set_text("Hello")
but when I click the button I get a type error asking for an integer somewhere on the second line of that code. What's going on? I'm not sure what I'm doing wrong and Google hasn't helped.
TIA
