On 03/17/2017 07:37 AM, Urs Liska wrote:
I order to check arguments for its type I've written this shorthand function:#(define (grob-type? grob name) (eq? name (assq-ref (ly:grob-property grob 'meta) 'name))) which of course does what it's supposed to. But I wonder if there's a more straightforward way, e.g. a built-in function doing the same?
(ly:grob-name some-grob) Also: (grob::has-interface some-grob some-interface) See: http://lilypond.1069038.n5.nabble.com/Make-Grob-name-accessible-to-Scheme-issue-203090043-by-david-nalesnik-gmail-com-td171933.html (Would be better if we had better docs for scheme functions...) -Paul _______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
