Wt  3.3.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
Wt::EventSignalBase Class Referenceabstract

Abstract base class of an event signal. More...

Inheritance diagram for Wt::EventSignalBase:
Inheritance graph
[legend]

Public Member Functions

const char * name () const
 Returns the event name. More...
 
virtual bool isConnected () const
 Returns whether this signal is connected. More...
 
void preventDefaultAction (bool prevent=true)
 Prevents the default browser action. More...
 
bool defaultActionPrevented () const
 Returns whether the default browser action is prevented. More...
 
void preventPropagation (bool prevent=true)
 Prevents event propagation. More...
 
bool propagationPrevented () const
 Returns whether event propagation is prevented. More...
 
- Public Member Functions inherited from Wt::SignalBase
WObjectsender () const
 Returns the sender. More...
 
virtual Wt::Signals::connection connect (WObject *target, WObject::Method method)=0
 Connects to a slot. More...
 
template<class T , class V >
Wt::Signals::connection connect (T *target, void(V::*method)())
 Connects to a slot. More...
 

Detailed Description

Abstract base class of an event signal.

An event signal is directly associated with a user-interface generated event.

Member Function Documentation

bool Wt::EventSignalBase::defaultActionPrevented ( ) const

Returns whether the default browser action is prevented.

See Also
preventDefaultAction()
bool Wt::EventSignalBase::isConnected ( ) const
virtual
const char* Wt::EventSignalBase::name ( ) const

Returns the event name.

The event name is implementation-defined.

void Wt::EventSignalBase::preventDefaultAction ( bool  prevent = true)

Prevents the default browser action.

Use this method to prevent the default browser action associated with this event.

See Also
setPreventPropagation()
void Wt::EventSignalBase::preventPropagation ( bool  prevent = true)

Prevents event propagation.

Use this method to prevent that the event propagates further to its ancestors.

See Also
preventDefaultAction()
bool Wt::EventSignalBase::propagationPrevented ( ) const

Returns whether event propagation is prevented.

See Also
preventPropagation()

Generated on Wed Mar 12 2014 for the C++ Web Toolkit (Wt) by doxygen 1.8.4