Re: [Haskell-cafe] haskell-gtk entry question

2013-07-27 Thread briand
On Sat, 27 Jul 2013 15:44:44 +0100 Claude Heiland-Allen wrote: > Perhaps it's a terminology confusion: in GTK, "activate" for an entry > means "pressing return key". This program works fine for me, pressing > return prints the text I entered in the box: > > 8< > import Graphics.UI.Gtk >

Re: [Haskell-cafe] haskell-gtk entry question

2013-07-27 Thread Claude Heiland-Allen
Hi Brian, On 25/07/13 04:14, bri...@aracnet.com wrote: > This should be simple, and I thought it had it working, but I've broken it > and can't figure out why. > > What I want is to invoke the callback whenever the user activates and entry > in a dialogbox, so I did both this : Not sure what y

[Haskell-cafe] haskell-gtk entry question

2013-07-24 Thread briand
Hello all, This should be simple, and I thought it had it working, but I've broken it and can't figure out why. What I want is to invoke the callback whenever the user activates and entry in a dialogbox, so I did both this : Gtk.on entry Gtk.entryActivate (boxHandler entry) (I believe this