Wt  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions
Wt::EventSignalBase Class Reference

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

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

List of all members.

Public Member Functions

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

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
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 Sun May 27 2012 for the C++ Web Toolkit (Wt) by doxygen 1.8.1