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



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.
Is there a recommended way to achieve what I want?

Jason


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