#include <Pt/Forms/LeaveEvent.h>

Pointer left a widget. More...

Inherits BasicEvent< T >.

Public Member Functions

 LeaveEvent (Widget &widget)
 Creates an event for pointer departure from widget.
 
virtual ~LeaveEvent ()
 Destructor.
 
Pt::uint64_t widgetId () const
 Returns the ID of the widget that lost the pointer.
 
Widgetwidget () const
 Returns the widget that lost the pointer.
 
void * r0 ()
 Returns reserved extension storage.
 
Pt::uint64_t r1 ()
 Returns reserved extension storage.
 
Eventclone (Allocator &allocator) const
 Clones this event using an allocator.
 
void destroy (Allocator &allocator)
 Destroys this event using an allocator.
 
const std::type_info & typeInfo () const
 Returns the type info for this class of events.
 

Static Public Member Functions

template<typename EventT >
static EventcopyConstruct (const EventT &ev, Allocator &allocator)
 Copies an event using an allocator.
 
template<typename EventT >
static void destruct (EventT &ev, Allocator &allocator)
 Destructs an event using an allocator.
 

Detailed Description

Sent before an enter event on the new target. The widget pointer and widget ID identify the widget that lost the pointer.