On 7/7/08 12:00 PM, "Joe Neeman" <[EMAIL PROTECTED]> wrote:
> On Sat, Jul 5, 2008 at 11:04 PM, Reinhold Kainhofer <[EMAIL PROTECTED]> > wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> >>>>>> 2) To work properly also with rhythmic staves and tab staves, I think >>>>>> that the >>>>>> springs should go only from the end of one staff to the beginning of the >>>>>> next, as otherwise the staff extends will already take away some of the >>>>>> vertical space that should be equally distributed. How do I get the >>> >>>>>> staff >>>>>> extents? >>>> >>>> I guess you need to find the StaffSymbol somehow... >> >> How can I do that? At this point of the code, I only have access to the >> VerticalAxisGroup. How do I get the staff symbol it is associated with? > > The only thing that springs to mind right now is to scan through its 'elements > (using extract_grob_set), looking for something that implements an appropriate > StaffSymbol-related interface. > According to the IR, a vertical axis group supports the grob-interface. One of the elements of the grob-interface is the staff-symbol, and is reported to return the staff symbol grob. Carl _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel