Re: tabbing through a treeview



On 18/07/2008, dhk <dhkuhl optonline net> wrote:
 One more question about this.

 What is the purpose of checking the event->state?  My event->state is
always 16, not zero, which is one of the unused values.

http://library.gnome.org/devel/gdk/stable/gdk-Event-Structures.html#GdkEventKey

It's there so that the tabbing only works when you press Tab without
any other modifier presses. Your event->state certainly isn't 16 on
that event handler if tabbing through the list is working for you.

You will learn a lot if you care to read and understand the docs.

Cheers,
Rui



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