### Navigation

- index
- modules |
- next |
- previous |
- Camelot documentation »
- Camelot API »
- view »
- controls »
- delegates »

# enumerationdelegate

class `camelot.view.controls.delegates.enumerationdelegate.``EnumerationDelegate`(parent=None, choices=[], editable=True, **kwargs)
  Contrary to the comboboxdelegate, the enumeration delegate does not support dynamic
    choices

  Field attributes supported by the delegate :

  > - choices
  > - editable

  By default, creates a ChoicesEditor as its editor.

  Field Attributes | Editor
  editable=False tooltip=’tooltip’ |
  editable=True |
  editable=True tooltip=’tooltip’ |
  editable=False |
  editable=False background_color=ColorScheme.green |
  editable=True background_color=ColorScheme.green |

  Static attributes supported by this editor :

  > - nullable
  > - field_name

  Dynamic field attributes supported by the editor :

  > - editable
  > - choices

  `editor`

    alias of `ChoicesEditor`

### Navigation

- index
- modules |
- next |
- previous |
- Camelot documentation »
- Camelot API »
- view »
- controls »
- delegates »

Comments
blog comments powered by Disqus