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_
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
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
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)
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