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.
- Public Member Functions inherited from FX::FXObject
const FXchar * getClassName () const
 Get class name of some object.
FXbool isMemberOf (const FXMetaClass *metaclass) const
 Check if object is member of metaclass.
virtual long tryHandle (FXObject *sender, FXSelector sel, void *ptr)
 Try handle message safely, catching certain exceptions.
virtual long onDefault (FXObject *, FXSelector, void *)
 Called for unhandled messages.
virtual ~FXObject ()
 Virtual 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-2016 Jeroen van der Zijp