GlissProperties

class maelzel.core.symbols.GlissProperties(linetype='solid', color='', hidden=False)[source]

Bases: EventSymbol

Customizes properties of a glissando

It can only be attached to an event which starts a glissando

Parameters:
  • linetype – the linetype to use, one of ‘solid’, ‘dashed’, ‘dotted’, ‘trill’

  • color – the color of the line

  • hidden – if True the glissando is not represented as notation. When applied to a Notation, the .gliss attribute of the Notation is set to false.

Attributes Summary

appliesToRests

exclusive

Only one of a given class

Methods Summary

applyToNotation(n, parent)

Apply this symbol to the given notation, inplace

checkAnchor(anchor)

Returns an error message if the event cannot add this symbol

Attributes Documentation

appliesToRests = False
exclusive = True

Only one of a given class

Methods Documentation

applyToNotation(n, parent)[source]

Apply this symbol to the given notation, inplace

Return type:

None

checkAnchor(anchor)[source]

Returns an error message if the event cannot add this symbol

Return type:

str