---
name: "Gtk2::Gdk::Event::Scroll"
section: "3pm"
platform: "linux"
package: "libgtk2-perl-doc"
version: "2:1.24992-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::Gdk::Event::Scroll"
---

# Gtk2::Gdk::Event::Scroll(3pm)

## NAME

Gtk2::Gdk::Event::Scroll

## HIERARCHY

```
  Gtk2::Gdk::Event
  +----Gtk2::Gdk::Event::Scroll
```

## METHODS

### device or undef = $eventscroll-\>device ($newvalue=undef)

- •

  `$newvalue` (Gtk2::Gdk::Device or undef)

### scrolldirection = $eventscroll-\>direction ($newvalue=0)

- •

  `$newvalue` (Gtk2::Gdk::ScrollDirection)

### double = $event-\>x ($newvalue=0.0)

- •

  `$newvalue` (double)

### double = $event-\>y ($newvalue=0.0)

- •

  `$newvalue` (double)

## ENUMS AND FLAGS

### enum Gtk2::Gdk::ScrollDirection

- •

  'up' / 'GDK\_SCROLL\_UP'

- •

  'down' / 'GDK\_SCROLL\_DOWN'

- •

  'left' / 'GDK\_SCROLL\_LEFT'

- •

  'right' / 'GDK\_SCROLL\_RIGHT'

## SEE ALSO

Gtk2

## COPYRIGHT

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL.  See Gtk2 for a full notice.
