On Wed, 2012-10-03 at 20:18 +0200, David Nečas wrote:
> On Wed, Oct 03, 2012 at 09:42:24AM -0500, Yury Alyaev wrote:
> > What is the right way to catch "Enter" pressing at the end of the
> > text input to GtkEntry. The obvious way is conecting the callback to
> > the "activate" signal, but for some reason documentation says
> > "Applications should not connect to it".
> 
> My Gtk+ documentation says the opposite:
> 
>     ...it is also commonly used by applications to intercept activation
>     of entries.
> 
> and I've been using it for a long time without problems.
> 
> Yeti

I asked a similar question some time ago

https://mail.gnome.org/archives/gtk-list/2012-March/msg00033.html


Seems that the irritating statement

"Applications should not connect to it, but may emit it..."

http://developer.gnome.org/gtk/stable/GtkEntry.html#GtkEntry-activate

is removed for current GTK3. Thanks.

http://developer.gnome.org/gtk3/stable/GtkEntry.html#GtkEntry-activate


_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to