Re: [gtk-list] gtk_label_set_text and gtk_widget_queue_resize
- From: Havoc Pennington <hp redhat com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] gtk_label_set_text and gtk_widget_queue_resize
- Date: 01 Mar 2000 12:25:54 -0500
Hi Paul,
I don't understand how you'd avoid a size request on set_text() -
after all, the label's size request depends on the text the label
contains, doesn't it?
Re: setting the usize based on style->font, just call
gtk_widget_ensure_style() to ensure you have a style, then set the
usize.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]