Urs Liska <u...@openlilylib.org> writes:

> when writing a callback function to override a stencil, how can I attach
> the original point-and-click link to the resulting graphics?

Isn't it attached automatically?  I don't think the usual stencil
callbacks bother with point-and-click info themselves.

> Is that even possible, as I'm not actually dealing with the grob
> anymore (isn't it)?
>
> I know how to get the location from inside the ties and slurs I'm
> dealing with, but I don't know how I can get this information back
> into the resulting element in the PDF.

With stencils, you should not need to do anything.  When calling
ly:engraver-make-grob yourself, be sure to specify a good cause.  Then
the originating event's point-and-click info will be automatically
attached.

-- 
David Kastrup

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to