Re: Hiding a window instead of "destroying" it
- From: Flavio Alberto Lopes Soares <engenharia3 maqplas com br>
- To: Ignacio <inodal teleline es>
- Cc: GTK-List <gtk-list gnome org>
- Subject: Re: Hiding a window instead of "destroying" it
- Date: Tue, 30 Oct 2001 09:40:57 -0200
Use gtk_widget_hide(GtkWidget *widget) to hide (obvious) your widget and
gtk_widget_show(GtkWidget *widget) to show, if you use
gtk_widget_destroy(your_window) you will need to re-make this window
when you have to re-use it.
Success
Best regards
Flavio Alberto
Ignacio wrote:
>
> Hi, I have an application with a main window and several child windows.
> I want to create all this child windows when the program is executed,
> but only show/hide them when a particular button is pressed. So, the
> child windows should only be destroyed if the main window is destroyed.
>
> I don't want to let this child windows to be destroyed not even using
> the "X" in their title-bar. It would be nice if I could connect this
> particular signal to gtk_widget_hide. Is this possible?
>
> Thanks,
> Ignacio
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]