-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sun, Feb 04, 2007 at 08:58:33PM -0700, Michael Torrie wrote:
> On Sun, 2007-02-04 at 03:25 -0300, Matías Alejandro Torres wrote:
[...]
> > Is there a way to get a widget's GdkWindow before it is drawn?
>
> I don't believe so. Because the window
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 draw
Hi all, i'm having problems trying to get top level windows' position
(including WM decorations).
It seems to me, that Widgets' GdkWindows are set when these are drawn.
What i do to the position of a widget is:
gtk_widget_show_all (GTK_WIDGET (tip));
if (!GTK_WIDGET_NO_WINDOW (GTK_WIDGET