Re: [Gtk2hs-devel] Popup menu trouble

2014-02-23 Thread Donald Allen
On Sun, Feb 23, 2014 at 7:46 AM, Axel Simon wrote: > Dear Don, > > I haven't tracked the developments of ghc's concurrency recently so I don't > know if there is still this -threaded option or if everything is nowadays > multithreaded. There used to be the necessity to install this call-back tha

Re: [Gtk2hs-devel] Popup menu trouble

2014-02-23 Thread Axel Simon
Dear Don, I haven't tracked the developments of ghc's concurrency recently so I don't know if there is still this -threaded option or if everything is nowadays multithreaded. There used to be the necessity to install this call-back that would run the main loop of Gtk+ while the Haskell program

Re: [Gtk2hs-devel] Popup menu trouble

2014-02-21 Thread Donald Allen
On Fri, Feb 21, 2014 at 8:00 AM, Donald Allen wrote: > > > > On Thu, Feb 20, 2014 at 2:55 PM, Daniel Wagner wrote: > >> Man, you have *got* to get into the habit of creating a minimal working >> example. =) >> > > Yeah, I know. I only had a 45 year career in computer science, running > software pr

Re: [Gtk2hs-devel] Popup menu trouble

2014-02-21 Thread Donald Allen
On Thu, Feb 20, 2014 at 2:55 PM, Daniel Wagner wrote: > Man, you have *got* to get into the habit of creating a minimal working > example. =) > Yeah, I know. I only had a 45 year career in computer science, running software projects large and small (including the Tenex project at BBN when Tenex w

Re: [Gtk2hs-devel] Popup menu trouble

2014-02-20 Thread Daniel Wagner
Man, you have *got* to get into the habit of creating a minimal working example. =) The minimal framework I could put around your code to make it run is included below. It does not have the problem you describe. Does the code below show the bad behavior you describe when you try it? If not, cou