Lines Matching refs:keyval
237 * Gobbles next key events on the queue with the same keyval and mask. Returns the number of events consumed.
239 gint gobble_key_events(guint keyval, gint mask) {
244 // while the next event is also a key notify with the same keyval and mask,
246 == GDK_KEY_RELEASE) && event_next->key.keyval == keyval && (!mask
270 // while the next event is also a key notify with the same keyval and mask,
339 if (time_diff > 500 || event->key.keyval != scroll_keyval) {
346 scroll_keyval = event->key.keyval;
1105 guint keyval = get_group0_keyval(&event->key);
1107 bool ctrl = ctrl_tip && (MOD__CTRL(event) || (keyval == GDK_KEY_Control_L) || (keyval
1109 bool shift = shift_tip && (MOD__SHIFT(event) || (keyval == GDK_KEY_Shift_L) || (keyval
1111 bool alt = alt_tip && (MOD__ALT(event) || (keyval == GDK_KEY_Alt_L) || (keyval
1112 == GDK_KEY_Alt_R) || (keyval == GDK_KEY_Meta_L) || (keyval == GDK_KEY_Meta_R));
1126 * Return the keyval corresponding to the key event in group 0, i.e.,
1129 * Use this instead of simply event->keyval, so that your keyboard shortcuts
1133 guint keyval = 0;
1137 (GdkModifierType) event->state, 0 /*event->key.group*/, &keyval,
1140 return keyval;