[Gtk-sharp-list] problems with GdkWindow
Thomas 'Dent' Mirlacher
Thu, 27 Feb 2003 17:36:02 +0100 (MET)
> If I remember correctly,.... You have to "Show" (or "ShowAll")
> your Widget/Window/Whatever before a Gdk.Window is created.
> So... try the following...
> Gtk.Window win = new Gtk.Window("scrolling");
> Gdk.Window gdkwin = win.GdkWindow;
well that doesn't seem to work (since the gtk window is created after it's shown :)
second thing is, i can live with having to realize the window. but i definitely
need the gdkwin before showing it (map, expose)
> (Where the Gdk.Window stuff comes after the "ShowAll".)
nope, doesn't work eigther - same thing.
"They that can give up liberty to obtain a little temporary safety
deserve neighter liberty nor safety" - Benjamin Franklin