diff options
author | Colin Guthrie | 2010-04-20 21:00:37 +0200 |
---|---|---|
committer | Colin Guthrie | 2010-04-20 21:00:37 +0200 |
commit | 6c0bcb4c08d5ce96c8d5a498341a3a3bad8545fd (patch) | |
tree | ba993a9cece5aa6f6dab77906ff79768d9d6ee8a /src/mainwindow.h | |
parent | streamwidget: Fix a compile warning. (diff) | |
download | pavucontrol-slx-6c0bcb4c08d5ce96c8d5a498341a3a3bad8545fd.tar.gz pavucontrol-slx-6c0bcb4c08d5ce96c8d5a498341a3a3bad8545fd.tar.xz pavucontrol-slx-6c0bcb4c08d5ce96c8d5a498341a3a3bad8545fd.zip |
mainwindow: Add a method to remove all widgets (e.g. on disconnect)
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |