private void BuildInterface() { box = new VBox(); model = new StationModel(plugin); view = new StationView(model); view.RowActivated += OnViewRowActivated; view.Popup += OnViewPopup; view.Selection.Changed += OnViewSelectionChanged; ScrolledWindow view_scroll = new ScrolledWindow(); view_scroll.HscrollbarPolicy = PolicyType.Never; view_scroll.VscrollbarPolicy = PolicyType.Automatic; view_scroll.ShadowType = ShadowType.In; view_scroll.Add(view); status_bar = new HighlightMessageArea(); status_bar.BorderWidth = 5; status_bar.LeftPadding = 15; box.PackStart(view_scroll, true, true, 0); box.PackStart(status_bar, false, false, 0); view_scroll.ShowAll(); box.Show(); status_bar.Hide(); }
private void BuildInterface() { box = new VBox(); model = new StationModel(plugin); view = new StationView(model); view.RowActivated += OnViewRowActivated; view.Popup += OnViewPopup; view.Selection.Changed += OnViewSelectionChanged; ScrolledWindow view_scroll = new ScrolledWindow(); view_scroll.HscrollbarPolicy = PolicyType.Never; view_scroll.VscrollbarPolicy = PolicyType.Automatic; view_scroll.ShadowType = ShadowType.In; view_scroll.Add(view); status_bar = new HighlightMessageArea(); status_bar.BorderWidth = 5; status_bar.LeftPadding = 15; box.PackStart(view_scroll, true, true, 0); box.PackStart(status_bar, false, false, 0); view_scroll.ShowAll(); box.Show(); status_bar.Hide(); }