Hi,

I still have some problems handling signal handlers. I have a dialog
which is called from the mainmenu. I show this dialog with :
GtkWidget *dialog;
dialog = create_dialog ();
gtk_widget_show (create_dialog);

This works fine. But now I want the dialog to close again when the
OK button is pressed on the dialog. I know I have to use the
lookup_widget function, but I don't know how to use it in this situation.
I tried this :

GtkWidget *dialog;
dialog = create_dialog ();
dialog = lookup_widget(dialog, "dialog");
gtk_widget_hide (dialog);

But that doesn't work. It also seems strange to me, because in the code
above another dialog is created.

Can somebody help me out here ?

Thanks !

Jasper

-- 
   __   _      linux!      : kernel 2.2.10/i686
  / /  (_)__  __ ____  __  : oracle 8 on rh5.2
 / /__/ / _ \/ // /\ \/ /  : last command : vi callbacks.cpp
/____/_/_//_/\_,_/ /_/\_\  : load 0.13 0.14 0.09

+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to