Wt::WMouseEvent Class Reference

Mouse event details. More...

#include <WEvent>

List of all members.

Public Types

 LeftButton
 Left button.
 MiddleButton
 Middle button.
 RightButton
 Right button.
enum  Button { LeftButton, MiddleButton, RightButton }
 Enumeration for the mouse button. More...

Public Member Functions

Button button () const
 Get the button.
Coordinates document () const
 The position relative to the document.
Coordinates window () const
 The position relative to the window.
Coordinates screen () const
 The position relative to the screen.
Coordinates widget () const
 The position relative to the widget.
Coordinates dragDelta () const
 The distance over which the mouse has been dragged.

Classes

struct  Coordinates
 Coordinates of the mouse. More...


Detailed Description

Mouse event details.


Member Enumeration Documentation

enum Wt::WMouseEvent::Button

Enumeration for the mouse button.

Enumerator:
LeftButton  Left button.
MiddleButton  Middle button.
RightButton  Right button.


Member Function Documentation

Coordinates Wt::WMouseEvent::dragDelta (  )  const [inline]

The distance over which the mouse has been dragged.

This is only defined for a mouseWentUp event.

Coordinates Wt::WMouseEvent::window (  )  const [inline]

The position relative to the window.

This differs from documentX() only through scrolling through the document.


The documentation for this class was generated from the following files:
Generated on Sun Jul 1 19:37:18 2007 for Wt by doxygen 1.4.7