[Gtk-sharp-list] Pb when hiding a Dialog

xiii29 xiii29@free.fr
Fri, 18 Mar 2005 22:42:23 +0100


Hi,

I've create a Dialog with Glade2 and here is the code I'm using for 
listening the event :
[Widget] Gtk.Dialog PAdresseDialog;

private void on_button3_clicked(object o, EventArgs args) {
            Console.WriteLine("on_button3_clicked");
            PAdresseDialog.Hide();
}

And here the result ...

(<unknown>:8221): Gtk-CRITICAL **: file ../../gtk/gtkwidget.c: line 2041 
(gtk_widget_hide): assertion `GTK_IS_WIDGET (widget)' failed

If someone has an idea !!

Thanks !