how can i find size of g[t|d]k window?



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?


thanks.
brent



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