denemo-devel
[Top][All Lists]
Advanced

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

[Denemo-devel] Question on the object inspector


From: Andreas Schneider
Subject: [Denemo-devel] Question on the object inspector
Date: Tue, 22 Sep 2015 18:13:04 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0

I am confused by the behaviour of the object inspector. When I open the
object inspector on the note in the chord staff of the attached file, it
shows two entries: One with name "Chord Variant (Chord staff)" (the
label of the command I used to create it, see script below) and one with
"/e", although I only created one object. The entry "/e" only has a tag
entry. I find this confusing. Can you please explain the intention of
this behaviour?

Thanks

Andreas



;;;ChordVariant
(let ((tag "ChordVariant")(thevariant ""))
(if (d-Directive-chord? tag)
        (d-DirectiveDelete-chord tag)
        (begin
        (d-DirectivePut-chord-prefix tag "\\chordmode{ ")
        (d-DirectivePut-chord-postfix tag "}")
        (set! thevariant (d-GetUserInput "Chord Symbols" "Give chord modifier
text (without the colon):" ""))
        (disp thevariant)
        (d-DirectivePut-chord-postfix tag (string-append  ":" thevariant "} "))
        (d-DirectivePut-chord-override tag DENEMO_OVERRIDE_AFFIX)
        (d-DirectivePut-chord-minpixels  thevariant 20)
        (d-DirectivePut-chord-display tag  thevariant)
        )
)
(d-RefreshDisplay)
(d-SetSaved #f)
)

Attachment: test.denemo
Description: Text Data


reply via email to

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