public override void Show() { Response = null; Gtk.Window parent = GtkSharpDriver.GetForegroundWindow(); //Size = ShellObject.LayoutInfo.Size; window.TransientFor = null; window.Modal = false; SolveWindowPosition(parent); window.Show(); }
public override object ShowModal() { Response = null; Gtk.Window parent = GtkSharpDriver.GetForegroundWindow(); window.TransientFor = parent; window.Modal = true; SolveWindowPosition(parent); window.Show(); while (window.Visible) { Gtk.Application.RunIteration(true); } return(Response); }