size-allocate ginal and layout resizing.
- From: "Barath K. Seshadri" <barathksesh yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: size-allocate ginal and layout resizing.
- Date: Thu, 19 May 2005 11:44:43 -0700 (PDT)
I have a gtklabel and am using g_signal_connect
hadnler to the size-allocate signal to modify the size
of the layout based on the text font size.
So if the text is too tall to fit, based on the
text height being greater than the layout's height I
reduce the font size by 1 pt till it fits into the
But I can't realize the change in layout size even
after I set the font size in the pango font
description and change the context on the pangolayout.
I'm not sure what else I need to do here. I don't
want to resize the layout on the expose-event to avoid
Thanks for you replies.
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
] [Thread Prev