lilypond-devel
[Top][All Lists]
Advanced

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

how to check clef type?


From: Janek Warchoł
Subject: how to check clef type?
Date: Sat, 7 Jan 2012 01:49:51 +0100

Hi,

i'm inside Clef_engraver::create_clef () - line 130 of lily/clef-engraver.cc
I'd like to do sth based on the clef type (G, F or C).  What condition
should i use?  I thought this

if (ly_scm2string (clef_->get_property ("glyph-name")) == "G")

would work, but it doesn't.

cheers,
Janek



reply via email to

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