LilyPondGrobNameManager

class lilypondnametools.LilyPondGrobNameManager

LilyPond grob name manager.

>>> import abjad
>>> from abjad.tools import lilypondnametools

Initializes with toplevel override function:

>>> note = abjad.Note("c'4")
>>> abjad.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_lilypondnametools { graph [label=lilypondnametools]; "abjad.tools.lilypondnametools.LilyPondGrobNameManager.LilyPondGrobNameManager" [color=black, fontcolor=white, group=1, label=<<B>LilyPondGrobNameManager</B>>, shape=box, style="filled, rounded"]; "abjad.tools.lilypondnametools.LilyPondNameManager.LilyPondNameManager" [color=2, group=1, label=LilyPondNameManager, shape=box]; "abjad.tools.lilypondnametools.LilyPondNameManager.LilyPondNameManager" -> "abjad.tools.lilypondnametools.LilyPondGrobNameManager.LilyPondGrobNameManager"; } subgraph cluster_builtins { graph [label=builtins]; "builtins.object" [color=1, group=0, label=object, shape=box]; } "builtins.object" -> "abjad.tools.lilypondnametools.LilyPondNameManager.LilyPondNameManager"; }

Attribute summary

__eq__(argument) Is true when argument is a LilyPond name manager with attribute pairs equal to those of this LilyPond name manager.
__getattr__(name) Gets LilyPond name manager keyed to name.
__hash__() Hashes LilyPond name manager.
__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__(argument)

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

Returns true or false.

LilyPondGrobNameManager.__getattr__(name)

Gets LilyPond name manager keyed to name.

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

Returns LilyPond name manager:

>>> abjad.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.

(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.