Re: setting/getting window pos & size with gtk/gdk



Christian Kleinert wrote:

hello!

problem:
when setting the size or position with gtk or gdk functions, the window will be drawn at the new pos with the 
new size. but when reading the pos and size with

        gdk_window_get_origin(window->window, &x, &y);
        gdk_window_get_size(window->window, &b, &h);

always the old values are given back.

does anyone know what has to ben done to save the new values?

thanx,

christian.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

oh and perhaps this function?
http://developer.gnome.org/doc/API/2.0/gdk/gdk-windows.html#gdk-window-get-geometry

Regards,

Martyn





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