[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
checking grob type
From: |
Urs Liska |
Subject: |
checking grob type |
Date: |
Fri, 17 Mar 2017 12:37:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0 |
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?
Best
Urs
--
address@hidden
https://openlilylib.org
http://lilypondblog.org
- checking grob type,
Urs Liska <=
- Re: checking grob type, Paul, 2017/03/17
- Re: checking grob type, Urs Liska, 2017/03/17
- Re: checking grob type, David Nalesnik, 2017/03/17
- Re: checking grob type, David Nalesnik, 2017/03/17
- Re: checking grob type, Paul, 2017/03/17
- Re: checking grob type, David Nalesnik, 2017/03/17
- Re: checking grob type, David Kastrup, 2017/03/17