Handle "Enter" pressing at GtkEntry
- From: Yury Alyaev <mutab0r rambler ru>
- To: gtk-app-devel-list gnome org
- Subject: Handle "Enter" pressing at GtkEntry
- Date: Wed, 03 Oct 2012 09:42:24 -0500
Hello all,
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". The alternative method is just to catch key
press event and check if the "Enter" key is pressed, but this looks less
convenient comparing with catching the "activate" signal. Why is
caonnecting user callback to "activate" signal bad?
Regards,
Yury.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]