Lines Matching defs:scroll
67 // scroll size for linux.
152 g_signal_connect_after(widget, "scroll-event",
253 // 8 & 9 for the scroll wheel for the attached USB mouse.
388 // Allow the vertical scroll delta to be overridden from the command line.
412 // If there is a change to the set of modifier keys or scroll axis
421 GdkEventScroll scroll = event->scroll;
422 if (scroll.state & GDK_SHIFT_MASK) {
423 if (scroll.direction == GDK_SCROLL_UP)
424 scroll.direction = GDK_SCROLL_LEFT;
425 else if (scroll.direction == GDK_SCROLL_DOWN)
426 scroll.direction = GDK_SCROLL_RIGHT;
429 if (scroll.direction == GDK_SCROLL_UP ||
430 scroll.direction == GDK_SCROLL_DOWN) {
431 if (scroll.state == current_event_state) {
432 num_clicks += (scroll.direction == GDK_SCROLL_UP ? 1 : -1);
438 if (scroll.direction == GDK_SCROLL_LEFT ||
439 scroll.direction == GDK_SCROLL_RIGHT) {
440 if (scroll.state == current_event_state) {
441 num_clicks += (scroll.direction == GDK_SCROLL_LEFT ? 1 : -1);
460 // If the user is holding shift, translate it into a horizontal scroll. We
472 // scroll events.
925 // occurred, so that we can force the widget to scroll when it otherwise