[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Events and Signals
- From: Olexiy Avramchenko <olexiy irtech cn ua>
- To: Ariel Fritz <duin tutopia com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Events and Signals
- Date: Wed, 05 Nov 2003 09:40:19 +0200
Ariel Fritz wrote:
>Hi
>
>I tryed to change event.keyval to GDK_Left(left key arrow) to test it. But
>it doesnŽt work.
>My question is if is possible to sent key events (keys arrows) to move on a
>GtkCList using gtk_event_put()?
>Remember that I recieve network event and IŽd like to move on GtkCList and
>select items on it.
>
>
Hello,
As I can guess you forget to set *hardware_keycode* field in GdkKeyEvent
structure. Look at attached modified "clist" example - when you add some
items to list and select one of them the key press event for GDK_Down
will be generated and handled by CList.
What version of GTK are you using ? GtkCList is deprecated in GTK2...
Olexiy
clist.tgz
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]