GNOME Bugzilla – Bug 666364
GtkEntry: 'activate' documentation needs clarification
Last modified: 2014-01-22 06:40:31 UTC
The current documentation for GtkEntry's activate signal reads, in part: Applications should not connect to it, but may emit it with g_signal_emit_by_name() if they need to control activation programmatically. This is a point of confusion for some users (read: me), as it's not clear why an application should not connect to this signal and what the recommended alternative is.
I find this extra confusing because the GTK+ FAQ contradicts it: the question "How do I make a GtkEntry widget activate on pressing the Return key?" is answered with "Just attach to the activate signal on the entry..."
Matthias Clasen fixed this in GTK+ 3 (commit 4a25bac0e7685000fff90a211db6ac60f6b74ab1), although the GTK+ 2 documentation still has the problematic sentence. Should that commit be cherry-picked to the gtk-2-24 branch?
Cherry-picked to gtk-2-24.