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

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sun Jul 8 16:17:01 EDT 2007

On Jul 8, 2007, at 16:00 , D.V. wrote:

> I'm not sure I understand xmlNewWithRootAndDomain, I'll make some  
> tests.
>> I found that it was necessary to load the window each time you need
>> it.  (you must re-load the XML each time)
> I was hoping I could only hide the dialog and not destroy it.

As I mentioned afterward, try hiding it in the OnDelete hook.  (And  
return True (I think) so the standard handler doesn't go ahead and  
destroy the window afterward.)

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

More information about the Haskell-Cafe mailing list