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



On Thu, 2009-03-26 at 15:07 +0545, Jason Curole wrote:
> Hi all,
> 
> Firstly, thanks for gtkmm---it's awesome!
> 
> I would like to create twenty or so Gtk::manage(new Gtk::Entry)
> objects in a loop, push them onto a list of some sort, then add text
> to them and finally pack them in a box, still keeping references to
> the objects after they are packed into the box.  I have tried the
> simple solution of keeping the objects on a std::list but this fails.

How?

> Is there a recommended way to achieve what I want?

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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