API Reference for Enthought Tool Suite 2.7.1
Define KeyBinding and KeyBindings classes which manages the mapping of Enable keystroke events into method calls on an application supplied controller object.
Binding = Trait('', validate_key_binding, event = 'binding', editor = key_binding_editor_factory)
Create a default editor factory to use:
key_binding_editor_factory = KeyBindingEditorFactory()
Converts an Enable keystroke event into a corresponding key name.
| Local name | Refers to |
|---|---|
| Any | enthought.traits.traits.Any |
| confirmation | enthought.util.wx.dialog.confirmation |
| Editor | enthought.traits.ui.wx.editor.Editor |
| EditorFactory | enthought.traits.ui.wx.editor_factory.EditorFactory |
| Event | enthought.traits.traits.Event |
| HasStrictTraits | enthought.traits.has_traits.HasStrictTraits |
| Instance | enthought.traits.traits.Instance |
| Item | enthought.traits.ui.item.Item |
| Label | enthought.enable2.controls.Label |
| List | enthought.traits.traits.List |
| ListEditor | enthought.traits.ui.editors.ListEditor |
| Str | enthought.traits.traits.Str |
| Trait | enthought.traits.traits.Trait |
| TraitError | enthought.traits.trait_errors.TraitError |
| View | enthought.traits.ui.view.View |
Copyright © 2002-2008 Enthought, Inc.