LilyPondGrobNameManager

class lilypondnametools.LilyPondGrobNameManager

LilyPond grob name manager.

Initializes with toplevel override function:

>>> note = Note("c'4")
>>> override(note)
LilyPondGrobNameManager()

Lineage

digraph InheritanceGraph { graph [background=transparent, bgcolor=transparent, color=lightslategrey, fontname=Arial, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, root="__builtin__.object", splines=spline, style="dotted, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=12, penwidth=2, style="filled, rounded"]; edge [color=lightsteelblue2, penwidth=2]; subgraph cluster_abctools { graph [label=abctools]; "abjad.tools.abctools.AbjadObject.AbjadObject" [color=1, group=0, label=AbjadObject, shape=box]; "abjad.tools.abctools.AbjadObject.AbstractBase" [color=1, group=0, label=AbstractBase, shape=box]; "abjad.tools.abctools.AbjadObject.AbstractBase" -> "abjad.tools.abctools.AbjadObject.AbjadObject"; } subgraph cluster_lilypondnametools { graph [label=lilypondnametools]; "abjad.tools.lilypondnametools.LilyPondGrobNameManager.LilyPondGrobNameManager" [color=black, fontcolor=white, group=2, label=<<B>LilyPondGrobNameManager</B>>, shape=box, style="filled, rounded"]; "abjad.tools.lilypondnametools.LilyPondNameManager.LilyPondNameManager" [color=3, group=2, label=LilyPondNameManager, shape=box]; "abjad.tools.lilypondnametools.LilyPondNameManager.LilyPondNameManager" -> "abjad.tools.lilypondnametools.LilyPondGrobNameManager.LilyPondGrobNameManager"; } subgraph cluster_builtins { graph [label=builtins]; "builtins.object" [color=2, group=1, label=object, shape=box]; } "abjad.tools.abctools.AbjadObject.AbjadObject" -> "abjad.tools.lilypondnametools.LilyPondNameManager.LilyPondNameManager"; "builtins.object" -> "abjad.tools.abctools.AbjadObject.AbstractBase"; }

Bases

Attribute summary

__eq__(arg) Is true when arg is a LilyPond name manager with attribute pairs equal to those of this LilyPond name manager.
__format__([format_specification]) Formats Abjad object.
__getattr__(name) Gets LilyPond name manager keyed to name.
__hash__() Hashes LilyPond name manager.
__ne__(argument) Is true when Abjad object does not equal argument.
__repr__() Gets interpreter representation of LilyPond name manager.
__setattr__(attribute_name, value) Sets attribute attribute_name of grob name manager to value.

Special methods

(LilyPondNameManager).__eq__(arg)

Is true when arg is a LilyPond name manager with attribute pairs equal to those of this LilyPond name manager. Otherwise false.

Returns true or false.

(AbjadObject).__format__(format_specification='')

Formats Abjad object.

Set format_specification to ‘’ or ‘storage’. Interprets ‘’ equal to ‘storage’.

Returns string.

LilyPondGrobNameManager.__getattr__(name)

Gets LilyPond name manager keyed to name.

>>> staff = Staff("c'4 d' e' f'")
>>> override(staff).note_head.color = 'red'
>>> show(staff) 

Returns LilyPond name manager:

>>> override(staff).note_head
LilyPondNameManager(('color', 'red'))
(LilyPondNameManager).__hash__()

Hashes LilyPond name manager.

Required to be explicitly redefined on Python 3 if __eq__ changes.

Returns integer.

(AbjadObject).__ne__(argument)

Is true when Abjad object does not equal argument. Otherwise false.

Returns true or false.

(LilyPondNameManager).__repr__()

Gets interpreter representation of LilyPond name manager.

Returns string.

LilyPondGrobNameManager.__setattr__(attribute_name, value)

Sets attribute attribute_name of grob name manager to value.

Returns none.