문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top