[gtkmm] Gtk::Notebook::insert_page



Hi folks,

I tried to use the Gtk::Notebook::insert_page method with a self-defined tab
label:

  Gtk::Notebook::insert_page ( Widget &child, Widget &tab_label, int position );

For tab_label, I created a Gtk::HBox containing an icon and a label. But it
didn't work: In the running program, the tab label was empty.

Can someone tell me what I'm doing wrong?

Thanks in advance,

  Markus



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]