Wt: Wt::WDropEvent Class Reference

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Hierarchy
- Class Members

Public Member Functions
Wt::WDropEvent Class Reference
Signal/slot system

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

`#include <Wt/WEvent>`

List of all members.

## Public Member Functions
| WDropEvent (WObject *source, const std::string &mimeType, const WMouseEvent &mouseEvent)
| Constructor.
WObject * | source () const
| Returns the source of the drag&drop operation.
const std::string & | mimeType () const
| Returns the mime type of this drop event.
const WMouseEvent & | mouseEvent () const
| Returns the original mouse event.

## Detailed Description

A class providing details for a drop event.

See also:
  WWidget::dropEvent(WDropEvent)

## Member Function Documentation

WObject* Wt::WDropEvent::source | ( |  | ) | const

Returns the source of the drag&drop operation.

The source is the widget that was set draggable using WInteractWidget::setDraggable().

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator