public PopupWindow(CustomWidget widget) : base(Gtk.WindowType.Toplevel) { SetSizeRequest(320, 200); box.Expand = true; this.Add(box); Decorated = true; //TransientFor = (Gtk.Window) frame.Toplevel; TypeHint = WindowTypeHint.Utility; WindowPosition = WindowPosition.Center; widget.Visible = true; box.PackEnd(widget, true, true, 0); widget.Visible = true; // CurrentWidget = widget; //Console.WriteLine(widget.Parent); }
public PopupWindow(CustomWidget widget) : base(Gtk.WindowType.Toplevel) { SetSizeRequest(320,200); box.Expand = true; this.Add(box); Decorated = true; //TransientFor = (Gtk.Window) frame.Toplevel; TypeHint = WindowTypeHint.Utility; WindowPosition = WindowPosition.Center; widget.Visible = true; box.PackEnd(widget,true,true,0); widget.Visible = true; // CurrentWidget = widget; //Console.WriteLine(widget.Parent); }