Dear all,

Is it possible to delete a managed widget from its parent, when it is 
needed?

A Simple example:

class MyBin : Gtk::Bin
{
public:
        MyBin():
        Gtk::Bin, button(Gtk::manage(new Button("Label")))
        {}

        void deleteButton()
        {
            delete button;
                button = 0;
        }
        
private:
        Gtk::Button *button;
}


Thanks and  Best Regards,
Joaquim Duran
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to