Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

BindingList Struct Reference

List of all members.

Detailed Description

A set of dispatchers associated with keyboard events.


Public Member Functions

Bindingfind (bit focus, bit shift, bit control, char[] keyCode)
 Search for the binding for an event descriptor and return the pointer or null.

Bindingfind (Event event, bit focus)
 Search for the binding for an event and return the pointer or null.

Bindingfind (char[] code)
 Search for the binding for a code and return the pointer or null.

bit notify (Event event, bit focus)
 Dispatch an event using the binding and return whether any matches were found.

void bindingFromCode (char[] code, out int focus, out int shift, out int control, out char[] keyCode)
 Extract binding parameters from input code.

Dispatcherbind (char[] code)
 Create a binding and return the dispatcher.

Dispatcherbind (char[] code, Dispatcher.Method method)
 Bind an event and return the dispatcher.

Dispatcherbind (char[] code, Dispatcher.MethodB method)
 Bind an event and return the dispatcher.

Dispatcherbind (char[] code, Dispatcher *dispatcher)
 Bind a dispatcher pointer and return the dispatcher.

void remove (char[] code, Dispatcher *dispatcher)
 Remove a binding from the list.


Public Attributes

Binding[] list
 The current list of bindings.


Member Function Documentation

Dispatcher* BindingList.bind charcode  []  ) 
 

Create a binding and return the dispatcher.

The code can be the keycode name (such as X) along with prefixed shift, control, or ctrl in either order with any separator. For example, "Shift-CONTROL-X", or "control 4" or "CtrlLeft". The pointer is valid until the next call to bind only.


The documentation for this struct was generated from the following file:
Generated on Thu Sep 4 13:12:51 2003 for dig by doxygen 1.3.2