Re: gtkentry and return key

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux