hide/show GtkDialogs



Hi there,



What would be the easiest way to hide a GtkDialog ?

I use libglade and wanted to get a GdkWindow* out
of my GtkDialog* widget, like in this code:

  GtkWidget *dialog1;

  dialog1 = glade_xml_get_widget (xmlfile, "dialog1");
  GdkWindow *diagdk = gtk_widget_get_parent_window (dialog1);
  gdk_window_show (diagdk);


But it doesn't seem to work.  I think


Bernd



--
If the shoe fits, get another one just like it.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]