AccidentalInterface — Abjad v1.1.1 documentation

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »

# AccidentalInterface

class `abjad.accidental.interface.` `AccidentalInterface`(_client)

  Bases: `abjad.core.interface._Interface`, `abjad.core.grobhandler._GrobHandler`

  Interface to all accidental-related settings and information.

  - Manage LilyPond `Accidental` grob.
  - Manage LilyPond `set-accidental-style` function.

      abjad> t = Staff(construct.scale(4))
      abjad> t.accidental
      <AccidentalInterface>

  `style`

    Read / write LilyPond accidental style.

    - Default value: `None`.
    - All values: LilyPond accidental style string, `None`.

        abjad> t = Staff(construct.scale(4))
        abjad> t.accidental.style = 'forget'

        abjad> print t.format
        \new Staff {
                #(set-accidental-style 'forget)
                c'8
                d'8
                e'8
                f'8
        }

### Navigation

- index
- modules |
- next |
- previous |
- Project Abjad »
- Abjad v1.1.1 documentation »
- Abjad API »