Re: [gtkmm] Dynamic page addition to Gtk::Notebook problem
- From: "Andreas B. Thun" <abt gmx de>
- To: Alexandros Frantzis <alf82 freemail gr>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Dynamic page addition to Gtk::Notebook problem
- Date: Thu, 12 Feb 2004 17:55:22 +0100
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
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]