Re: [wxhaskell-users] Segmentation fault

2009-02-20 Thread Henk-Jan van Tuyl
On Fri, 20 Feb 2009 00:17:05 +0100, Eric wrote: > Dear all, > > When I run the following program I get a "Segmentation fault/access > violation". Can anyone see the problem? > > *** > > main = start gui > > > gui = do{ > f <- frame [text := ""] > ;book <- notebook f [] > ;page <- new_

[wxhaskell-users] Segmentation fault

2009-02-19 Thread Eric
Dear all, When I run the following program I get a "Segmentation fault/access violation". Can anyone see the problem? *** main = start gui gui = do{ f <- frame [text := ""] ;book <- notebook f [] ;page <- new_page f ;set f [layout := tabs book [page]] ;set f [position := p

Re: [wxhaskell-users] Segmentation fault when setting listbox items within a listbox event handler

2007-08-03 Thread Mads Lindstrøm
Hi Shelarcy > Hi Mads, > > On Thu, 02 Aug 2007 22:12:48 +0900, Mads Lindstrøm <[EMAIL PROTECTED]> wrote > > (snip) > > > > and click on the listbox item "Foobar", the program crashes with: > > > > (L:6279): Gtk-WARNING **: unable to find signal handler for > > object(GtkListItem:0x8425e40) with

Re: [wxhaskell-users] Segmentation fault when setting listbox items within a listbox event handler

2007-08-02 Thread shelarcy
Hi Mads, On Thu, 02 Aug 2007 22:12:48 +0900, Mads Lindstrøm <[EMAIL PROTECTED]> wrote > (snip) > > and click on the listbox item "Foobar", the program crashes with: > > (L:6279): Gtk-WARNING **: unable to find signal handler for > object(GtkListItem:0x8425e40) with func((nil)) and data(0x845ac18)

[wxhaskell-users] Segmentation fault when setting listbox items within a listbox event handler

2007-08-02 Thread Mads Lindstrøm
Hi all If I run the following program: {-# OPTIONS -fglasgow-exts #-} module Main where import Graphics.UI.WX main = start $ do w <- frame [text := "ListBox Event Handling"] p <- panel w [] listBox <- multiListBox p [ items := [ "Foobar" ] ] set listBox [ on select