Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BResponder Class Reference

#include <BResponder.h>

Inheritance diagram for BResponder:

Inheritance graph
[legend]
List of all members.

Detailed Description

Base class for event responders.

A responder can select whether it accepts input or not; by default, it does accept input.


Public Member Functions

 BResponder ()
virtual ~BResponder ()
virtual void handleEvent (const BEvent &event)
 Handle the given event. Override if necessary.

virtual void setAcceptsInput (bool yn)
virtual bool acceptsInput ()

Protected Attributes

bool _accepts


Constructor & Destructor Documentation

BResponder::BResponder   [inline]
 

virtual BResponder::~BResponder   [inline, virtual]
 


Member Function Documentation

virtual bool BResponder::acceptsInput   [inline, virtual]
 

virtual void BResponder::handleEvent const BEvent   event [inline, virtual]
 

Handle the given event. Override if necessary.

Reimplemented in BButton, BLabel, BListbox, BMenu, BScreen, BScroller, and BWidget.

virtual void BResponder::setAcceptsInput bool    yn [inline, virtual]
 


Member Data Documentation

bool BResponder::_accepts [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Dec 29 10:00:47 2007 for DSGUI by doxygen1.3-rc3