From 6c0bcb4c08d5ce96c8d5a498341a3a3bad8545fd Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Tue, 20 Apr 2010 20:00:37 +0100 Subject: mainwindow: Add a method to remove all widgets (e.g. on disconnect) --- src/mainwindow.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainwindow.h') diff --git a/src/mainwindow.h b/src/mainwindow.h index 0ee84b5..92db272 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -55,6 +55,8 @@ public: void removeSourceOutput(uint32_t index); void removeClient(uint32_t index); + void removeAllWidgets(); + Gtk::Notebook *notebook; Gtk::VBox *streamsVBox, *recsVBox, *sinksVBox, *sourcesVBox, *cardsVBox; Gtk::Label *noStreamsLabel, *noRecsLabel, *noSinksLabel, *noSourcesLabel, *noCardsLabel; -- cgit