Removing managed widgets
- From: Joaquim Duran <joaquinduran adtelecom es>
- To: gtkmm-list gnome org
- Subject: Removing managed widgets
- Date: Wed, 26 Mar 2008 17:30:58 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]