Why this comportment ? (more precise)
- From: "lomba" <lomba pressemicro net>
- To: <gtk-list gnome org>
- Subject: Why this comportment ? (more precise)
- Date: Wed, 20 Nov 2002 12:33:48 +0100
----- Original Message -----
From: "lomba" <lomba pressemicro net>
To: <gtk-list gnome org>
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]