wxTst::CRSliderUpdateEvent Class Reference

Handle slider update events. More...

#include <CRSliderUpdateEvent.h>

Inheritance diagram for wxTst::CRSliderUpdateEvent:

Inheritance graph
Collaboration diagram for wxTst::CRSliderUpdateEvent:

Collaboration graph

List of all members.

Public Member Functions

 CRSliderUpdateEvent (wxEvent *event)
virtual void EmitCpp ()
 Emit event simulation specific C++ code.
virtual bool IsPending () const
 Return true because slider update events are assembled into one.
virtual void Process (CRCapturedEvent **pendingEvt)
 Process event, only called after checking for handling ability.
virtual ~CRSliderUpdateEvent ()

Detailed Description

Handle slider update events.

Understandably, moving the slider creates several events -- intermediate positions are taken into account as well; cf. text control text update events. Moreover, a range of different events are created:

TODO: Maybe sometimes it is desirable to create intermediate events, so capturing wxEVT_SCROLL_THUMBRELEASE should be used in general, and for in special cases (where intermediate events are of interest) this behaviour should be switched to on???

Definition at line 42 of file CRSliderUpdateEvent.h.

Constructor & Destructor Documentation

wxTst::CRSliderUpdateEvent::CRSliderUpdateEvent ( wxEvent *  event  ) 


event event to handle

Definition at line 25 of file CRSliderUpdateEvent.cpp.

wxTst::CRSliderUpdateEvent::~CRSliderUpdateEvent (  )  [virtual]


Definition at line 32 of file CRSliderUpdateEvent.cpp.

Member Function Documentation

void wxTst::CRSliderUpdateEvent::EmitCpp (  )  [virtual]

bool wxTst::CRSliderUpdateEvent::IsPending (  )  const [virtual]

Return true because slider update events are assembled into one.


Reimplemented from wxTst::CRCapturedEvent.

Definition at line 38 of file CRSliderUpdateEvent.cpp.

void wxTst::CRSliderUpdateEvent::Process ( CRCapturedEvent **  pendingEvt  )  [virtual]

Process event, only called after checking for handling ability.

pendingEvt current pending event with respect to code emitting (or NULL if none is pending)

Implements wxTst::CRCapturedEvent.

Definition at line 44 of file CRSliderUpdateEvent.cpp.

References wxTst::CRWindowHierarchyHandler::FindContainerName(), wxTst::CRCapturedEvent::GetEvent(), wxTst::CRWindowHierarchyHandler::GetInstance(), and wxTst::CRCapturedEvent::m_event.

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

wxWidgets Logo Get wxGuiTesting at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated on Tue Mar 17 17:29:30 2009 for wxGuiTesting by doxygen 1.5.5