Re: [gtk-list] gtk_label_set_text and gtk_widget_queue_resize




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]