[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to check clef type?
From: |
address@hidden |
Subject: |
Re: how to check clef type? |
Date: |
Sat, 7 Jan 2012 12:02:14 +0100 |
On Jan 7, 2012, at 1:49 AM, Janek Warchoł wrote:
> 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.
The glyph name would be "clefs.G".
Cheers,
MS