Wt::WScrollEvent Class Reference
[Signal/slot system]

A class providing details for a scroll event. More...

#include <Wt/WEvent>

List of all members.

Public Member Functions

 WScrollEvent ()
 Default constructor.
int scrollX () const
 Returns the current horizontal scroll position.
int scrollY () const
 Returns the current vertical scroll position.
int viewportWidth () const
 Returns the current horizontal viewport width.
int viewportHeight () const
 Returns the current horizontal viewport height.

Detailed Description

A class providing details for a scroll event.

See also:
WContainerWidget::scrolled()

Member Function Documentation

int Wt::WScrollEvent::scrollX (  )  const [inline]

Returns the current horizontal scroll position.

See also:
scrollY(), viewportWidth()
int Wt::WScrollEvent::scrollY (  )  const [inline]

Returns the current vertical scroll position.

See also:
scrollX(), viewportHeight()
int Wt::WScrollEvent::viewportHeight (  )  const [inline]

Returns the current horizontal viewport height.

Returns the current viewport height.

See also:
viewportWidth(), scrollY()
int Wt::WScrollEvent::viewportWidth (  )  const [inline]

Returns the current horizontal viewport width.

Returns the current viewport width.

See also:
viewportHeight(), scrollX()

Generated on Thu May 13 05:16:16 2010 for Wt by doxygen 1.6.3