global keybindings
- From: Paul Barton-Davis <pbd op net>
- To: gtk-list gnome org
- Subject: global keybindings
- Date: Thu, 26 Oct 2000 11:56:56 -0400
what's the latest word on how to do global key bindings ?
i have an app in which i want focus to direct keystrokes to a specific
handler more or less all the time. that is, i don't care what widget
the pointer is in, 95% of the time, i just want my handler to take
care of it. this seems hard, especially when button presses and the
like grab keyboard focus away from the former widget (though I suppose
i could turn it off).
i can think of two approaches, the key snooper and the skimpily
documented stuff on gtk_binding_*(). i'm not sure what the latter is
for, however. there is also going through every widget and turning
CAN_FOCUS off, and then doing focusing "by hand" ... doesn't seem right.
any opinions or information ?
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]