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



On Wed, 14 May 2003 10:10:34 +0200
Markus Gerwinski <markus gerwinski de> wrote:

> 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.
> _______________________________________________

Have you actually tried my code? Replacing my calls to append_page with insert_page still works on my system (gtkmm-2.2).

---
Daniel Sundberg
http://sumpan.com


> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
> 



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