private Widget CreateFooterSection() { var container = new Widget { Layout = new HBoxLayout { Spacing = 5 }, }; actionPicker = new ThemedDropDownList(); foreach (var menuItem in The.MenuController.GetVisibleAndSortedItems()) { actionPicker.Items.Add(new CommonDropDownList.Item(menuItem.Label, menuItem.Action)); } actionPicker.Index = 0; container.AddNode(actionPicker); goButton = new ThemedButton("Go"); goButton.Clicked += () => Execute((Func <string>)actionPicker.Value); container.AddNode(goButton); abortButton = new ThemedButton("Abort") { Enabled = false, Visible = false }; abortButton.Clicked += () => AssetCooker.CancelCook(); container.AddNode(abortButton); return(container); }