Example #1
0
 public ToolbarView(Widget container, ToolbarModel toolbarModel)
 {
     this.toolbarModel = toolbarModel;
     widget            = new Widget {
         Layout     = new VBoxLayout(),
         LayoutCell = new LayoutCell {
             StretchY = 0
         }
     };
     container.Nodes.Add(widget);
     DecorateToolbar(widget);
 }
Example #2
0
 public void Rebuild(ToolbarModel newToolbarModel)
 {
     toolbarModel = newToolbarModel;
     Rebuild();
 }