1 #include "My_Scroller.h"
3 #include <gtk--/container.h>
5 void My_Scroller::remove_child(int i) {
6 cout << "Unparenting child[" << i << "]" << endl;
7 this->children[i]->unparent();
8 cout << "Deleting child[" << i << "] from children" << endl;
9 // this->remove(children()->first());
10 delete this->children[i];
11 cout << "done" << endl;
13 void My_Scroller::add_child(Gtk_Widget *w) {
14 cout << "My_Scroller::add_child()" << endl;
17 cout << "done" << endl;
18 this->children[0] = w;