public WelcomePageWidget()
        {
            ShowScrollbars = true;
            VisibleWindow  = false;

            UpdateTeme(null, null);
            LogoHeight = 90;

            var background = new WelcomePageWidgetBackground();

            background.Accessible.SetShouldIgnore(true);
            Background       = background;
            background.Owner = this;
            var mainAlignment = new Gtk.Alignment(0f, 0f, 1f, 1f);

            mainAlignment.Accessible.SetShouldIgnore(true);
            background.Add(mainAlignment);

            BuildContent(mainAlignment);

            if (ShowScrollbars)
            {
                var scroller = new ScrolledWindow();
                scroller.Accessible.SetShouldIgnore(true);
                scroller.AddWithViewport(background);
                ((Gtk.Viewport)scroller.Child).ShadowType = ShadowType.None;
                scroller.Child.Accessible.SetShouldIgnore(true);

                scroller.ShadowType = ShadowType.None;
                scroller.FocusChain = new Widget[] { background };
                scroller.Show();
                Add(scroller);
            }
            else
            {
                this.Add(background);
            }

            if (LogoImage != null)
            {
                var logoHeight = LogoHeight;
                mainAlignment.SetPadding((uint)(logoHeight + Styles.WelcomeScreen.Spacing), 0, (uint)Styles.WelcomeScreen.Spacing, 0);
            }

            ShowAll();

            IdeApp.Workbench.GuiLocked         += OnLock;
            IdeApp.Workbench.GuiUnlocked       += OnUnlock;
            MonoDevelop.Ide.Gui.Styles.Changed += UpdateTeme;
        }
		public WelcomePageWidget ()
		{
			ShowScrollbars = true;
			VisibleWindow = false;

			BackgroundColor = "white";
			LogoHeight = 90;

			var background = new WelcomePageWidgetBackground ();
			Background = background;
			background.Owner = this;
			var mainAlignment = new Gtk.Alignment (0f, 0f, 1f, 1f);
			background.Add (mainAlignment);

			BuildContent (mainAlignment);

			if (ShowScrollbars) {
				var scroller = new ScrolledWindow ();
				scroller.AddWithViewport (background);
				((Gtk.Viewport)scroller.Child).ShadowType = ShadowType.None;
				scroller.ShadowType = ShadowType.None;
				scroller.FocusChain = new Widget[] { background };
				scroller.Show ();
				Add (scroller);
			} else
				this.Add (background);

			if (LogoImage != null) {
				var logoHeight = LogoHeight;
				mainAlignment.SetPadding ((uint)(logoHeight + Styles.WelcomeScreen.Spacing), 0, (uint)Styles.WelcomeScreen.Spacing, 0);
			}

			ShowAll ();

			IdeApp.Workbench.GuiLocked += OnLock;
			IdeApp.Workbench.GuiUnlocked += OnUnlock;
		}