Some code:

----------------------------------------------------------------------

def foobar(w):
   print w

QtCore.QObject,connect( my_line_edit,
QtCore.SIGNAL("returnPressed()"), foobar )

----------------------------------------------------------------------


How can I get this to work so "foobar" prints out the sender of the
signal (i.e. my_line_edit)?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to