protected void AddCustomWidget(Gtk.Widget w)
{
w.ShowAll ();
book.AppendPage (w, null);
book.Page = book.NPages - 1;
if (initialized) {
Gtk.Widget cw = book.GetNthPage (0);
book.RemovePage (0);
cw.Destroy ();
}
else
initialized = true;
customWidget = true;
}