Пример #1
0
        public DocumentToolbar GetToolbar(IBaseViewContent targetView)
        {
            DocumentToolbar toolbar;

            if (!documentToolbars.TryGetValue(targetView, out toolbar))
            {
                toolbar = new DocumentToolbar();
                documentToolbars [targetView] = toolbar;
                box.PackStart(toolbar.Container, false, false, 0);
                box.ReorderChild(toolbar.Container, 0);
                toolbar.Visible = (targetView == ActiveViewContent);
            }
            return(toolbar);
        }
Пример #2
0
 void ShowDocumentToolbar(DocumentToolbar toolbar)
 {
 }