### Navigation

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

# filedelegate

class `camelot.view.controls.delegates.filedelegate.``FileDelegate`(parent=None, editable=True, **kwargs)

  Delegate for camelot.types.file fields. Expects values of type camelot.core.files.storage.StoredFile.

  By default, creates a FileEditor 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 :

  > - storage
  > - field_name
  > - remove_original

  Dynamic field attributes supported by the editor :

  > - editable
  > - background_color
  > - tooltip
  > - remove_original

  `editor`

    alias of `FileEditor`

### Navigation

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

Comments
blog comments powered by Disqus