Re: Size of widget
- From: Mark Leisher <mleisher crl nmsu edu>
- To: GTK Application Development List <gtk-app-devel-list gnome org>
- Subject: Re: Size of widget
- Date: Fri, 5 Jan 2001 07:48:51 -0700 (MST)
learfox> When yer definatly sure the widget has the right size you want,
learfox> use
>> Another alternative is to insure your window exists with
>> gtk_widget_realize() and then call gtk_window_get_size() for the width
>> and height. Notice that one is "widget" and the other "window".
Fredrik> there isn't a function called gtk_window_get_size. I've searched
Fredrik> both docs and includes.
Quite right. Very sloppy of me. I meant gdk_window_get_size() instead.
Sorry about that.
-----------------------------------------------------------------------------
Mark Leisher
Computing Research Lab Cinema, radio, television, magazines are a
New Mexico State University school of inattention: people look without
Box 30001, Dept. 3CRL seeing, listen without hearing.
Las Cruces, NM 88003 -- Robert Bresson
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]