hi, for example i have a vbox and a button.

heres the code:

Gtk::VBox *box = new Gtk::VBox();
Gtk::Button *button - new Gtk::Button();

box->add(*button);


later on i wish to remove this button but i wish to keep it to be used later
on.
if i simple goes box->remove(*button) my app simply crashes.

what am i doing wrong?

thanks.
-- 
View this message in context: 
http://old.nabble.com/keeping-removed-widget-tp26607025p26607025.html
Sent from the Gtkmm mailing list archive at Nabble.com.

_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to