On Sun, 2007-02-04 at 03:25 -0300, Matí­as Alejandro Torres wrote:
>  gdk_window_get_root_origin throws an error If i try to call it before 
> the widget is exposed:

As it should.

> 
> [..] assertion `GDK_IS_WINDOW (window)' failed
> 
> Is there a way to get a widget's GdkWindow before it is drawn? 

I don't believe so.  Because the window manager has not placed it yet.
Thus the gtk app has no way of knowing where the window will actually be
placed.

Michael


> 
> Thanks in advance.
> _______________________________________________
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> 

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

Reply via email to