Replying to myself, as I've found a simple solution. On Nov 16, 2007 5:56 PM, Gaetan de Menten <[EMAIL PROTECTED]> wrote: > Hi people, > > Does anybody know if there is an easy way to implement a default > widget with Qooxdoo. I mean a widget (usually a button) which catch > "enter" events in other fields. > This is meant to speed up some forms, for example login forms: you > enter your login, password and then immediately press enter (without > first focusing the "sign in" button first), and this actually > activates said button. I know such a mechanism exist in GTK/Glade (and > probably other GUI toolkits too). > > Is there a mechanism I could use in Qooxdoo to do this easily or do I > have to manually configure event listeners on each of my fields?
Simply adding the event listener on the container widget seem to work fine. Is there any problem with that approach? -- Gaƫtan de Menten http://openhex.org ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel