Re: How to get sizes of widget
- From: Tim Terlegard <timte878 student liu se>
- To: gtk-list gnome org
- Subject: Re: How to get sizes of widget
- Date: Fri, 18 Aug 2000 06:45:22 +0200
> Is there a function, reciprocal to gtk_widget_set_usize()?
> I have a GtkLabel and I want to know its horizontal size.
GtkWidget *label;
label->allocation.height
But remember, the label has to be realized before you can get its size.
Tim
timte878@student.liu.se
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]