make_solid_text_spanner_with_nib

spannertools.make_solid_text_spanner_with_nib(left_text, direction=Up)

Makes solid text spanner with nib at right.

Solid text spanner forced above staff:

>>> staff = Staff("c'8 d'8 e'8 f'8")
>>> spanner = spannertools.make_solid_text_spanner_with_nib(
...     'foo',
...     direction=Up,
...     )
>>> attach(spanner, staff[:])
>>> show(staff) 

Solid text spanner forced below staff:

>>> staff = Staff("c'8 d'8 e'8 f'8")
>>> spanner = spannertools.make_solid_text_spanner_with_nib(
...     'foo',
...     direction=Down,
...     )
>>> attach(spanner, staff[:])
>>> show(staff) 

Returns text spanner.