Re: How to get sizes of widget

> Is there a function, reciprocal to gtk_widget_set_usize()?
> I have a GtkLabel and I want to know its horizontal size.

GtkWidget *label;

But remember, the label has to be realized before you can get its size.


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