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