parogers / pgu

Automatically exported from code.google.com/p/pgu
GNU Lesser General Public License v2.1
89 stars 37 forks source link

RETURN key signal #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi.

I wonder if there is a signal which can be catched when the user press the 
RETURN key on an Input widget.

Regards. BIAGINI Nathan.

Original issue reported on code.google.com by nathan.o...@gmail.com on 9 May 2011 at 2:31

GoogleCodeExporter commented 9 years ago
I've added an "activate" signal to the text input box:

w = gui.Input()
w.connect("activate", callback)

The changes are in the repository code, I'll be posting a release shortly.

Original comment by peter.ro...@gmail.com on 26 Sep 2011 at 3:18