예제 #1
0
        /// <summary>
        /// Creates the hard-coded panel area. This will get replaced with the
        /// docking widgets at some point, but for the time being, they are set
        /// as part of code.
        /// </summary>
        /// <returns></returns>
        private Widget CreatePanelArea()
        {
            // Create the project pane.
            var projectTab = new ProjectTabView(projectManager);

            // We have a notepad that contains the the individual elements.
            var notebook = new Notebook
            {
                TabPos = PositionType.Bottom
            };

            notebook.AppendPage(projectTab, new Label("Project"));

            // Wrap the notebook in a frame for spacing.
            var frame = new Frame
            {
                Child       = notebook,
                BorderWidth = 2,
                Shadow      = ShadowType.None,
                ShadowType  = ShadowType.None,
            };

            return(frame);
        }
예제 #2
0
        /// <summary>
        /// Creates the hard-coded panel area. This will get replaced with the
        /// docking widgets at some point, but for the time being, they are set
        /// as part of code.
        /// </summary>
        /// <returns></returns>
        private Widget CreatePanelArea()
        {
            // Create the project pane.
            var projectTab = new ProjectTabView(projectManager);

            // We have a notepad that contains the the individual elements.
            var notebook = new Notebook
            {
                TabPos = PositionType.Bottom
            };

            notebook.AppendPage(projectTab, new Label("Project"));

            // Wrap the notebook in a frame for spacing.
            var frame = new Frame
            {
                Child = notebook,
                BorderWidth = 2,
                Shadow = ShadowType.None,
                ShadowType = ShadowType.None,
            };

            return frame;
        }