In the PyGTK tutorial, I came across this function:
def enter_callback(self, widget, entry):
entry_text = entry.get_text()
print "Entry contents: %s\n" % entry_text
This function prints text that was entered into an
entry. I'm confused by the parameters. Isn't the
entry also the widget? The webpage I am referring to
is:
http://www.pygtk.org/pygtk2tutorial/sec-TextEntries.html
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/