[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: GdkWindow's position
- From: Michael Torrie <torriem chem byu edu>
- To: GTK App-Dev <gtk-app-devel-list gnome org>
- Subject: Re: GdkWindow's position
- Date: Sun, 04 Feb 2007 20:58:33 -0700
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
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]