Problem with gtk_widget_get



All

I am using the following code:

GtkArg arg;
arg.type = GTK_TYPE_UINT;
arg.name = "x";
gtk_widget_get(main_window, &arg);
x_pos = GTK_VALUE_UINT(arg);

The problem is, no matter where I move my top level window,
gtk_widget_get returns the same value (x_pos = 262).  Any ideas? 
Thanks.

-- 
Neil Hodge
nhodge1 yahoo com




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