Andreas B. Thun wrote:
This worked for me:
void ExampleWindow::on_button_append()
{
m_Label2 = Gtk::manage(new Gtk::Label("Contents of new tab"));
m_Notebook.append_page(*m_Label2, "More");
show_all_children();
m_Notebook.set_current_page(-1); // set last one active
}
Yes, this works for me too. I was supposing that appending a widget to the notebook would automatically make it visible. Thank you.