private void RefreshToolbar(HBox newToolbar) { _headerContainer.RemoveFromContainer(_toolbar); _toolbar = newToolbar; _headerContainer.Add(_toolbar); _toolbar.ShowAll(); }
private void RefreshFooter(Widget newFooter) { if (_footerContainer != null) { foreach (var child in _footerContainer.Children) { _footerContainer.RemoveFromContainer(child); child.Dispose(); child.Destroy(); } } if (newFooter != null) { _footer = newFooter; _footerContainer.Add(_footer); _footer.ShowAll(); } }