----- Original Message -----
From: "lomba" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 20, 2002 12:09 AM
Subject: Why this comportment ?


> Hello,
>
> i've a big problem with gtk... I create a window, with many elements and a
> simple button which has to destroy the window when I click on it.
> I use a gtk_signal_connect with the fonction _widget_destroy and the name
of
> the window in parameter. Unfortunately, this is my button which disappear
> and not my window. A solution ?
Hi,

I just want to add that this window is not the main window : I can't do a
gtk_main_quit.
And my signal is like :
gtk_signal_connect_object (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC
(gtk_widget_destroy), GTK_OBJECT(window));

bye
--
lomba

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to