Public Member Functions | |
| Binding * | find (bit focus, bit shift, bit control, char[] keyCode) |
| Search for the binding for an event descriptor and return the pointer or null. | |
| Binding * | find (Event event, bit focus) |
| Search for the binding for an event and return the pointer or null. | |
| Binding * | find (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. | |
| Dispatcher * | bind (char[] code) |
| Create a binding and return the dispatcher. | |
| Dispatcher * | bind (char[] code, Dispatcher.Method method) |
| Bind an event and return the dispatcher. | |
| Dispatcher * | bind (char[] code, Dispatcher.MethodB method) |
| Bind an event and return the dispatcher. | |
| Dispatcher * | bind (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. | |
|
|
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. |
1.3.2