clan::FocusChangeEvent Class Reference

View focus changed event. More...

#include <focus_change_event.h>

+ Inheritance diagram for clan::FocusChangeEvent:

Public Member Functions

 FocusChangeEvent (FocusChangeType type)
 
FocusChangeType type () const
 
- Public Member Functions inherited from clan::EventUI
virtual ~EventUI ()
 
std::shared_ptr< Viewcurrent_target ()
 View the event is currently being dispatched to.
 
bool default_prevented () const
 Flag if the event default action should be executed after dispatch.
 
EventUIPhase phase () const
 Current active event phase during dispatch.
 
void prevent_default ()
 Prevent default action from being executed after dispatch.
 
bool propagation_stopped () const
 Flag if event propagation should stop.
 
void set_timestamp (long long ts)
 Set event timestamp.
 
void stop_propagation ()
 Stops event from propagating further.
 
std::shared_ptr< Viewtarget ()
 The target view the event is fired for.
 
long long timestamp () const
 Timestamp for event in milliseconds since 1970.
 

Detailed Description

View focus changed event.

Constructor & Destructor Documentation

◆ FocusChangeEvent()

clan::FocusChangeEvent::FocusChangeEvent ( FocusChangeType  type)
inline

Member Function Documentation

◆ type()

FocusChangeType clan::FocusChangeEvent::type ( ) const
inline

The documentation for this class was generated from the following file: