Re: Getting width of Text
- From: Damon Chaplin <damon karuna eclipse co uk>
- To: jeffrey ratcliffe gmail com
- Cc: goocanvas-list gnome org
- Subject: Re: Getting width of Text
- Date: Wed, 12 Aug 2009 20:12:17 +0100
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]