Re: Key press 'Enter' signal
- From: Paul Davis <paul linuxaudiosystems com>
- To: jlebra <jlebra yahoo fr>
- Cc: gtk-list gnome org
- Subject: Re: Key press 'Enter' signal
- Date: Thu, 14 Nov 2002 08:57:16 -0500
>Hello,
>
>How can I connect a window or other widget to a key
>press 'Enter'?
>
>If you prefer : What's signal is emit when I press on
>the key 'Enter'????
there is no single answer.
if you connect to the "key_press_event" or "key_release_event" signals,
you can check the keyvalue for GDK_Enter.
some (not many) widgets emit an "activate" signal, typically when
Enter is pressed in them. GtkEntry is one such widget. Most widgets do
not do this.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]