Re: gtkentry and return key
- From: Carlo Agrusti <carlo-ag libero it>
- To: gtk-list gnome org
- Subject: Re: gtkentry and return key
- Date: Fri, 03 Nov 2006 09:17:12 +0100
Mattias Gaertner ha scritto lo scorso 02/11/2006 02:35:
> Hi all,
>
> The gtkentry emits an 'activate' signal when you press return in it.
> Can this be deactivated, so that the key is not handled by the gtkentry?
> I want to use a generic key function.
>
You can connect a callback to the insert_text event associated to your
GtkEntry and then stop signal emission if the ascii code of the inserted
character is equal to the key you need to intercept.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]