Re: [gtkmm] delete widget
- From: Wellington Seixas Castello <nerdwell terra com br>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] delete widget
- Date: Sun, 1 Aug 2004 13:49:36 -0300
On Sunday 01 August 2004 07:18, B.Hakvoort wrote:
> If you declare the dialog as a pointer you can simply delete it by using
> delete :
> Gtk::Dialog *dialog = new Gtk::Dialog() ;
> //do something with dialog
> delete dialog;
The dialog is something like this:
where the class About inherits Gtk::Dialog, this is made using libglademm.
> maybe this is what you're looking for?
> On Sun, 2004-08-01 at 00:31, Wellington Seixas Castello wrote:
> > Hello everyone,
> > Is there some way to delete a widget manually? instead of just use hide()
> > (as i'm doing in my program) and without manage()/add() functions?
> > The problem is that the Dialog class i'm using in the program never have
> > a finish. I was declared it in the class of main window so that just use
> > hide() and present() but i don't know how to delete it if i don't use
> > anymore. I'm using libglademm to get Dialog and creating a new derived
> > class with that.
> > Thank you.
> > _______________________________________________
> > gtkmm-list mailing list
> > gtkmm-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtkmm-list
] [Thread Prev