[Haskell-cafe] Help with Menu item handlers in gtk2hs with glade

Lakshmi Narasimhan lakshminaras2002 at gmail.com
Sun Feb 15 06:18:18 EST 2009


I designed a basic GUI with Menu bar and menu items in glade. I use the 
glade bindings in haskell to get the menu item using xmlGetWidget and 
castToMenuItem function. I set a *onActivateItem* handler for this 
menuitem. However this is not working. I saw the glade file and it has a 
signal function in the xml. I tried to use the same function name, but 
it doesn't work either. Any suggestions on what I might be doing wrong 
here and how to get menu item handlers working.


More information about the Haskell-Cafe mailing list