key bindings - gtk2



I need some documentation about key bindings in gtk2. By looking at the
api-reference I can not tell what is the correct way to use it.

Or maybe someone could just write a little about keyboard navigation,
accel groups, binding sets, mnemonics, accessibility (atk). What happens
when you press a button, and in what order is the event handled?


One thing I want to do is to have a gtk_scrolled_window that is operated
with the arrows instead of ctrl-arrow that is the default. And I want
ctrl-arrow to bind to something else. The user is going to scroll with the
arrows most of the time, so in this case it is better to use arrow and not
ctrl-arrow.

In a gtk1 version of the program I simply made a solution that worked, but
now when I rewrite my code I want a solution that is sound and that works
the way it's intended to work.

-- 
/Dennis




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