Reduce number of leakes ui handles per editor instance, #3937

This commit is contained in:
heckflosse
2017-06-29 19:09:40 +02:00
parent b0fdc58a07
commit 5f97800e69
4 changed files with 28 additions and 33 deletions

View File

@@ -265,9 +265,6 @@ public:
return headerWidget ? headerWidget : label;
}
/// Get the widget shown/hidden by the expander
Gtk::Container* getChild();
/// Set the collapsed/expanded state of the expander
void set_expanded( bool expanded );
@@ -276,7 +273,7 @@ public:
/// Add a Gtk::Container for the content of the expander
/// Warning: do not manually Show/Hide the widget, because this parameter is handled by the click on the Expander's title
void add (Gtk::Container& widget);
void add (Gtk::Container& widget, bool setChild = true);
void updateVScrollbars(bool hide);
};