On Wed, Sep 03, 2008 at 06:30:25PM +0800, Lazy Fox wrote:
> /* How to get the widget's size before it has been shown?
> *
> * There are two "printf" statements below. I want to get the widget's
> size at the first printf.
> * How to do this?
> */
> #include
>
> int main( int argc, char *arg
/* How to get the widget's size before it has been shown?
*
* There are two "printf" statements below. I want to get the widget's
size at the first printf.
* How to do this?
*/
#include
int main( int argc, char *argv[] )
{
GtkWidget *window;
gtk_init (&argc, &argv);
window = gt