Re: keeping track of "Gtk::manage(new Gtk::Entry)" objects



On Fri, 2009-03-27 at 21:03 +0545, Jason Curole wrote:
> Hi Murray,
> 
> Sorry I did not offer more specifics; I assumed I was trying to do
> something not possible.  I am using gtkmm-2.4, Ubuntu 8.04.
> 
> On to the problem.  The following code:
> 
> std::list<Gtk::Entry> l_entry;

Why not use std::list<Gtk::Entry*> ?

> Gtk::Entry *h_entry = Gtk::manage(new Gtk::Entry);
> l_ent
-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



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