Question

The documantation about entries in Gtk2Hs has the entry about the Event onEntryActivate, which is triggered when the user presses enter within the entry field. This seems like something you want for most of your entries. So why is this in the Deprecated section?

Was it helpful?

Solution

My guess is that these "special" events are all deprecated and instead the generic onfuncion should be used. In this case the it would be on yourEntry entryActivate doSomething.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top