#include <Pt/Forms/EnterEvent.h>

Pointer entered a widget. More...

Inherits BasicEvent< T >.

Public Member Functions

 EnterEvent (Widget &widget)
 Creates an event for pointer entry into widget.
 
virtual ~EnterEvent ()
 Destructor.
 
Pt::uint64_t widgetId () const
 Returns the ID of the widget entered by the pointer.
 
Widgetwidget () const
 Returns the widget entered by 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 after a leave event on the previous target. The widget pointer and widget ID identify the widget now under the pointer.