Re: get a widget size
- From: Igor Popik <igipop wsfiz edu pl>
- To: Rodier André <roan free fr>
- Cc: gnome-devel-list gnome org
- Subject: Re: get a widget size
- Date: 11 Jun 2002 09:09:10 +0200
> Hello !
Hi
> I have a problem with Gtk : I can't find method to determine the size of
> a widget with Gtk-1.4, with Gtk-2.0, a fonction gtk_widget_get_size give
> the width and height of a widget. Do anyone know how can I make the same
> thing with gtk-1.4, please ?
I guess there is no function to get size of a widget in gtk 1.2 - you
must refer to the widget allocation structure (GtkAllocation) eg.
sizex = widget->allocation.x;
Regards,
Igor
--
:: Igor Popik, THrull ircnet
:: http://www.netkrab.com, http://gadu.gnu.pl
:: mailto:igipop wsfiz edu pl, mailto:thrull slackware pl
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]