This handy class takes a copy of a TreeViewItem's openness when you create it, and restores that openness state when its destructor is called. More...
#include <juce_TreeView.h>
Public Member Functions | |
OpennessRestorer (TreeViewItem &) | |
~OpennessRestorer () | |
This handy class takes a copy of a TreeViewItem's openness when you create it, and restores that openness state when its destructor is called.
This can very handy when you're refreshing sub-items - e.g.
TreeViewItem::OpennessRestorer::OpennessRestorer | ( | TreeViewItem & | ) |
TreeViewItem::OpennessRestorer::~OpennessRestorer | ( | ) |