[Haskell-cafe] Gtk2Hs, Glade, Multiple windows/dialog in one interface file.

D.V. dav.vire+haskell at gmail.com
Sun Jul 8 16:24:46 EDT 2007

Oh !

Okay I tried and YOU ROCK ! Thanks a lot. Now it hides and comes back at will.

But I still can't react to that Close button that's automatically
added to that About Dialog.

Here's my latest (random) try :

  aboutdialog <- xmlGetWidget xml castToAboutDialog "aboutdialog1"
  onDelete aboutdialog $ \event -> do
      widgetHide aboutdialog
      return True
  onResponse aboutdialog $ \resp -> do
    case resp of
      ResponseClose -> widgetHide aboutdialog
      otherwise    -> return ()

More information about the Haskell-Cafe mailing list