Urs Liska wrote
> could someone please explain the difference between setting a grob's 
> stencil to #f (or ##f) 

Just the visible stencil part of the grob goes away.  You can still access
other properties of the grob, etc.


Urs Liska wrote
> and applying ly:grob-suicide on it?
> I'm currently looking at some functions doing things like that and would 
> like to know when to use which.

The grob (with all its properties) ceases to exist.  

When to use which will depend on what exactly you're doing and what you
want.  You'll probably have to try one and the other and see what the
difference is for any given use case.  (It might generally be safer to use
stencil #f if that does the job since it's less invasive.)

Cheers,
-Paul




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Relation-of-ly-grob-suicide-and-setting-the-stencil-to-f-tp174456p174462.html
Sent from the User mailing list archive at Nabble.com.

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

Reply via email to