Re: [gtkmm] Gtk::Notebook::insert_page



Daniel Sundberg wrote:
> I assume you use gtkmm2.

It's Gtkmm-2.0.

> I do something like this in my program GSpeakers:
> 
>   m_main_notebook.append_page(crossover_paned, *manage(new TabWidget("filter_small.png", _("Crossover") ) ) );
> 
> [...]
> 
> That works for me.

My problem is, I need insert_page, not append_page, since the page can be
exchanged in the running application, but the tab shall remain at its place.
insert_page doesn't seem to work here, it only gets me an empty tab.



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