Re: Getting width of Text



On Wed, 2009-08-12 at 14:27 +0000, jeffrey ratcliffe gmail com wrote:
> If I set the width of a _text as -1, then it uses as much space as
> needed and doesn't wrap.
> 
> How can I see how wide the _text really is? Getting the width property
> simply returns -1 again.

You can use goo_canvas_text_get_natural_extents().

Damon




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