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

FXAccelTable Class Reference

#include <FXAccelTable.h>

Inheritance diagram for FXAccelTable:

FXObject List of all members.

Public Methods

 FXAccelTable ()
 Construct empty accelerator table.

void addAccel (FXHotKey hotkey, FXObject *target=NULL, FXSelector seldn=0, FXSelector selup=0)
 Add an accelerator to the table.

FXbool hasAccel (FXHotKey hotkey) const
 Return true if accelerator specified.

FXObjecttargetOfAccel (FXHotKey hotkey) const
 Return target object of the given accelerator.

void removeAccel (FXHotKey hotkey)
 Remove mapping for specified hot key.

virtual void save (FXStream &store) const
 Save table to a stream.

virtual void load (FXStream &store)
 Load table from a stream.

virtual ~FXAccelTable ()
 Destructor.


Detailed Description

The accelerator table sends a message to a specific target object when the indicated key and modifier combination is pressed.