Re: [gtkmm] delete widget
- From: "B.Hakvoort" <bart hakvoort be>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] delete widget
- Date: Sun, 01 Aug 2004 12:18:09 +0200
Hey,
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;
maybe this is what you're looking for?
Bart
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
--
www.titanium-it.nl --- Open Minded Open Source
www.real-life.nl <-----Another Source
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]