Re: [gtk-list] how can i find size of g[t|d]k window?
- From: Stefan Ondrejicka <ondrej idata sk>
- To: GTK List <gtk-list redhat com>
- Subject: Re: [gtk-list] how can i find size of g[t|d]k window?
- Date: Thu, 17 Jun 1999 14:36:00 +0200 (MET DST)
On Thu, 17 Jun 1999, brent verner wrote:
Hello,
> i would like to know the size of a gtk window _before_ it is
> shown, is there any way to do this? i'm using
>
> gdk_window_get_size( (GdkWindow *)(child), &wCt, &hCt );
>
> but this returns a size of 1x1 until the window is shown. i
> tried realizing the widget, but that did not help. any ideas?
use gtk_widget_size_request() function instead
Regards,
Stevo.
---
Stefan Ondrejicka <ondrej@idata.sk>
http://www.idata.sk/~ondrej/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]