Re: getting a pango tabarray for a specific line of text



On 21/11/2007, Behdad Esfahbod <behdad behdad org> wrote:
On Wed, 2007-11-21 at 01:32 +0100, Nick Gravgaard wrote:
Hi all,

My application has non-uniform tabs of different sizes on different
lines. Does anyone know how I should go about getting a pango tabarray
for a specific line of text in a textbuffer?

Hi,

That's not possible.  If you have explicit line breaks (as I guess you
have), just use separate layout objects.

Thanks. I presume then that there must be some way of getting a layout
object for a certain line. I've looked through the documentation but I
can't see how I should do this - how do I do that?

Nick



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]