[snip] >> - My second thought was to create a std::vector containing >> Glib::RefPtr<Gtk::Button> objects (in order to hold onto the button >> after >> the method call had ended); >> However, there seems to be no way to add the RefPtr object to an HBox >> (and no way to add a plain button to a vector) [snip]
Note: Don't use RefPtrs for widgets. Only use RefPtrs when you are forced to (when you must use create() methods). You may use regular pointers, with new and delete. Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
