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

FX::FXAccelTable Class Reference

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

#include <FXAccelTable.h>

Inheritance diagram for FX::FXAccelTable:
FX::FXObject

List of all members.

Classes

struct  FXAccelKey

Public Member Functions

long onKeyPress (FXObject *, FXSelector, void *)
long onKeyRelease (FXObject *, FXSelector, void *)
 FXAccelTable ()
 Construct empty accelerator table.
void addAccel (FXHotKey hotkey, FXObject *target=NULL, FXSelector seldn=0, FXSelector selup=0)
 Add an accelerator into the table.
void removeAccel (FXHotKey hotkey)
 Remove an accelerator from the table.
FXbool hasAccel (FXHotKey hotkey) const
 Return true if accelerator specified.
FXObjecttargetOfAccel (FXHotKey hotkey) const
 Return target object of the given accelerator.
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.


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

Copyright © 1997-2011 Jeroen van der Zijp