lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

is (context-has-engraver? ctx sym) possible?


From: Mark Polesky
Subject: is (context-has-engraver? ctx sym) possible?
Date: Wed, 5 Aug 2009 09:08:16 -0700 (PDT)

This question is already buried in this post:
http://lists.gnu.org/archive/html/lilypond-devel/2009-08/msg00154.html

I'm starting a new thread to make it more visible.

Is it possible to write a scheme procedure to test if a given
context contains a particular engraver? Like...
(context-has-engraver? context 'Span_arpeggio_engraver)

This would have to return #t if a non-default engraver has been
added with \consists, and #f if a default engraver has been
removed with \remove. Or else it would be pointless.

Thanks.
- Mark



      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]