public MainWindow() : base(Gtk.WindowType.Toplevel) { Build(); // nonclient window border width uint borderWidth = 4; this.eventboxClient.BorderWidth = borderWidth; // init resizing hepler with gtk window and border widget _sizingHelper = new GuiWidgets.SizingHelper(this, this.eventboxNonClient, true, borderWidth); // Uncheck in window property or in code directly this.Decorated = false; about_win.Modal = true; about_win.TransientFor = this; about_win.Hide(); string[] paths = Gtk.Rc.DefaultFiles; foreach (string path in paths) { this.textview3.Buffer.Text += Environment.NewLine + path; } this.textview3.Buffer.Text += Environment.NewLine + Gtk.Settings.Default.ThemeName; this.textview3.Buffer.Text += Environment.NewLine + Gtk.Settings.Default.KeyThemeName; }