public SetupWindow() : base(string.Empty) {
this.Title = string.Format("{0} {1}", Properties_Resources.ApplicationName, Catalog.GetString("Setup"));
this.BorderWidth = 0;
this.IconName = "dataspacesync-app";
this.Resizable = false;
this.WindowPosition = WindowPosition.Center;
this.Deletable = false;
this.DeleteEvent += delegate(object sender, DeleteEventArgs args) {
args.RetVal = true;
};
this.SecondaryTextColor = Style.Foreground(StateType.Insensitive).ToHex();
this.SecondaryTextColorSelected = this.MixColors(
new TreeView().Style.Foreground(StateType.Selected),
new TreeView().Style.Background(StateType.Selected),
0.15).ToHex();
this.SetSizeRequest(680, 400);
this.hBox = new HBox(false, 0);
this.vBox = new VBox(false, 0);
this.wrapper = new VBox(false, 0) {
BorderWidth = 0
};
this.optionArea = new VBox(false, 0) {
BorderWidth = 0
};
this.buttons = this.CreateButtonBox();
HBox layout_horizontal = new HBox(false, 0) {
BorderWidth = 0
};
layout_horizontal.PackStart(this.optionArea, true, true, 0);
layout_horizontal.PackStart(this.buttons, false, false, 0);
this.vBox.PackStart(this.wrapper, true, true, 0);
this.vBox.PackStart(layout_horizontal, false, false, 15);
EventBox box = new EventBox();
Gdk.Color bg_color = new Gdk.Color();
Gdk.Color.Parse("#000", ref bg_color);
box.ModifyBg(StateType.Normal, bg_color);
Image side_splash = UIHelpers.GetImage("side-splash.png");
side_splash.Yalign = 1;
box.Add(side_splash);
this.hBox.PackStart(box, false, false, 0);
this.hBox.PackStart(this.vBox, true, true, 30);
base.Add(this.hBox);
}