[Gtk-sharp-list] Gdk.Window to Gtk.Window?
PauloMorfeo at portugalmail.pt
Wed Feb 1 14:41:17 EST 2006
Sáb, 2006-01-28 às 07:20 +0000, Paulo Augusto escreveu:
> I am trying to use a Dialog() but i am having problems because:
> Dialog ... = new Dialog (... , Gtk.Window , ...)
> The control that calls the constructor of Dialog can do something like:
> RootWindow() or ParentWindow() or GdkWindow()
> But all of them return me a Gdk.Window and the constructor of Dialog()
> wants to receive a Gtk.Window, instead, and it won't «cast» from
> Gdk.Window to Gtk.Window:
> (Gtk.Window) this.RootWindow()
> Can anyone help me out so i won't have to implement some ugly work
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
2006-02-01, Mike Kestner wrote:
> > - Is there any way to get the correct variable level Gtk.Window for the
> > Widget?
Widget.Toplevel returns a Gtk.Window!
More information about the Gtk-sharp-list