I'm working on a project that has three different views on the data I'm presenting. 2 use pictures at different levels of resolution and for those, I use widgets which inherit from DrawingArea. The third uses OpenGL to render the terrain, and for this I use a widget which inherits from Gtk::GL::DrawingArea which is provided by gtkglextmm.
In any case, when the users switches between the views I switch the objects that are used, and because ScrolledWindow is a container I figured it should obvious that I could add and remove widgets from it when I needed to switch the views. That's when I ran into this problem.
I'm working on a project that has three different views on the data I'm presenting. 2 use pictures at different levels of resolution and for those, I use widgets which inherit from DrawingArea. The third uses OpenGL to render the terrain, and for this I use a widget which inherits from Gtk::GL: :DrawingArea which is provided by gtkglextmm.
In any case, when the users switches between the views I switch the objects that are used, and because ScrolledWindow is a container I figured it should obvious that I could add and remove widgets from it when I needed to switch the views. That's when I ran into this problem.