New in version 2.0.
Abjad model of LilyPond input file layout block:
abjad> layout_block = lilypondfiletools.LayoutBlock()
abjad> layout_block
LayoutBlock()
abjad> layout_block.indent = 0
abjad> layout_block.ragged_right = True
abjad> f(layout_block)
\layout {
indent = #0
ragged-right = ##t
}
Return layout block.
Read-only list of context blocks:
abjad> layout_block = lilypondfiletools.LayoutBlock()
abjad> context_block = lilypondfiletools.ContextBlock('Score')
abjad> context_block.override.bar_number.transparent = True
abjad> context_block.override.time_signature.break_visibility = schemetools.Scheme('end-of-line-invisible')
abjad> layout_block.context_blocks.append(context_block)
abjad> f(layout_block)
\layout {
\context {
\Score
\override BarNumber #'transparent = ##t
\override TimeSignature #'break-visibility = #end-of-line-invisible
}
}
Return list.
Note
Inherited from lilypondfiletools._AttributedBlock
Note
Inherited from lilypondfiletools._AttributedBlock
x.__delattr__(‘name’) <==> del x.name
Note
Inherited from __builtin__.object
Note
Inherited from __builtin__.object
Note
Inherited from lilypondfiletools._AttributedBlock
x.__setattr__(‘name’, value) <==> x.name = value
Note
Inherited from __builtin__.object
Note
Inherited from __builtin__.object