#include <WEvent>
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... | |
| 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.
1.4.7