FoscLilypondContextSetting

Returns a FoscLilypondContextSetting.


Description

LilyPond context setting.


Attributes Summary

Instance Properties

lilypondType Gets LilyPond type.
name Optional LilyPond context name.
contextProperty Gets LilyPond context property name.
formatPieces Gets LilyPond context setting \set or \unset format pieces.
isUnset Is true if context setting unsets its value. Otherwise false.
value Value of LilyPond context setting.

Instance Methods: Special Methods

== !!!TODO


Usage

  1. Example

    a = FoscLilypondContextSetting('Score', 'autoBeaming', value: true);
    a.formatPieces.join("\n").postln;
    \set Score.autoBeaming = ##t
  2. Example

    a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], [1/4]));
    a = FoscScore([a]);
    m = FoscRehearsalMark(number: 1);
    a[0][0].attach(m);
    z = set(a).markFormatter = FoscScheme('format-mark-box-alphabet');
    a.show;

  3. Example

    z.prAttributeTuples.postln;
    [ [ 'markFormatter', FoscScheme.new ] ]


Instance Properties


lilypondType

Gets LilyPond type.


name

Optional LilyPond context name.


contextProperty

Gets LilyPond context property name.


formatPieces

Gets LilyPond context setting \set or \unset format pieces.


isUnset

Is true if context setting unsets its value. Otherwise false.


value

Value of LilyPond context setting.


Instance Methods: Special Methods


==

!!!TODO

Is true when argument is a LilyPond context setting with equivalent keyword values.