Jeremy O'Donoghue | 4 Jan 2010 12:56
Picon

Re: scrolledWindow

Hi Carlos,
 
Sorry for the delay in replying - family takes priority over the Christmas period.
 
I think I understand what you are looking for. The key, I think (and I must admit that I have always found Layout to be a little confusing - it probably deserves more investigation and better documentation), is to understand that using layout makes a strong effort to make all widgets appear on the controlled window without any need for scrolling.
 
I performed many experiments, and whenever the Frame in the code below is given a Layout, the size of the ScrolledWindow is expanded to be large enough to fit all widgets. I haven't yet determined whether this is a bug or designed behaviour, but it is not what I expected.
 
The example below is closer to what you want - although I should note that setting the ScrolledWindow style to force vertical and horizontal scroll bars doesn't seem to have any effect - you only get the scroll bars you need.
 
In the example, instead of doing something like:
 
set f [layout := container pnl $ column 5 [....
 
I instead perform the layout in the ScrolledWindow, taking care to set the clientSize to the size I need the ScrolledWindow to take up (this is critical).
 
I then call windowReLayoutMinimal f, which causes the Frame to be fitted to the smallest size required to contain the child window (i.e. pnl - in this case 100 x 100).
 
Hope this helps.
 
Best regards
Jeremy
 
module Main where

import Data.Bits
import Graphics.UI.WXCore
import Graphics.UI.WX

main :: IO ()
main = start gui

gui :: IO ()
gui = do f   <- frame   [text := "Frame"]
         pnl <- scrolledWindow f [ scrollRate  := sz 20 20 ]
         sal1 <- staticText pnl [ text := "This is an example of using an scroll bar with wxhaskell, it looks like don't work, so it's true?" ]
         sal2 <- staticText pnl [ text := "staticText2" ]
         sal3 <- staticText pnl [ text := "staticText3" ]
         sal4 <- staticText pnl [ text := "staticText4" ]
         sal5 <- staticText pnl [ text := "staticText5" ]
         sal6 <- staticText pnl [ text := "staticText6" ]
         set pnl  [ layout := column 5 [ widget sal1,
                                         widget sal2,
                                         widget sal3,
                                         widget sal4,
                                         widget sal5,
                                         widget sal6],
                    clientSize := sz 100 100,
                    style := wxHSCROLL .|. wxVSCROLL]
         windowReLayoutMinimal f
         return ()
On Fri, 25 Dec 2009 23:15 -0400, "carlos gomez" <carliros.g-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
The example you put is good, but it is not what I want.
I want to use the scroll bar of a window (like panel or scrolledwindow), and move the scroll bar to see the parts not visible of elements that can contain the panel.
In your example, every textCtrl could have his own scroll bar, but I want only one for all elements, and it have to be in the panel container of the elements.
 
As I read in wxwidget, an easy and automatic way to configure the scroll bar in a scrolledWindow is using scrollRate. Then the scrolledWindow will use the Sizer (Layout in wxHaskell) to set the virtualSize and the clientSize of the panel to set the pageSize of the scrolledWindow. 
 
I wrote an example in wxwidget, and the same example in wxhaskell didn't work. I wonder why didn't work and how can i fix.
 
-----------------------------------------------------------
#include <wx/wx.h>
#include <wx/wxhtml.h>
#include <wx/scrolwin.h>
 
class MyApp: public wxApp 
{
    virtual bool OnInit();
};
 
class MyFrame: public wxFrame 
{
public:
    MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
};
 
IMPLEMENT_APP(MyApp)
 
bool MyApp::OnInit() 
{
    MyFrame *frame = new MyFrame( _("Hello World"), wxPoint(50, 50), wxSize(450, 340) );
    frame->Show(true);
    SetTopWindow(frame);
    return true;
}
 
MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
       : wxFrame(NULL, -1, title, pos, size)
{
 
    wxScrolledWindow* scrolledWindow = new wxScrolledWindow (
            this, wxID_ANY, wxPoint (0, 0), wxSize (400, 400),
            wxVSCROLL | wxHSCROLL);
    
    //scrolledWindow->SetScrollbars(20, 20, 200, 200);
 
    scrolledWindow->SetScrollRate(10, 10);
 
    wxStaticText* staticText1 = new wxStaticText(
        scrolledWindow, 
        wxID_STATIC, 
        wxT("This is an example to verify the functionality of scrolledWindow in wxwidget, so let's go to see what's going on!!!!."), 
        wxDefaultPosition,
        wxDefaultSize, 
        wxALIGN_LEFT);
    
    wxStaticText* staticText2 = new wxStaticText(
        scrolledWindow, 
        wxID_STATIC, 
        wxT("staticText 2."), 
        wxDefaultPosition,
        wxDefaultSize, 
        wxALIGN_LEFT);
    
 
    wxBoxSizer *topSizerSW = new wxBoxSizer (wxVERTICAL);
    topSizerSW->Add(staticText1, 1, wxEXPAND | wxALL, 10);
    topSizerSW->Add(staticText2, 1, wxEXPAND | wxALL, 10);
 
    scrolledWindow->SetSizer(topSizerSW);
 
}
---------------------------------------------------------
 
---------------------------------------------------------
module Main where
 
import Graphics.UI.WXCore
import Graphics.UI.WX
import Data.Bits
 
main :: IO()
main = start gui
 
gui :: IO()
gui = do f  <- frame [text := "Frame"]
         sw <- scrolledWindow f [ scrollRate := sz 10 10
                                           , style      := wxVSCROLL .|. wxHSCROLL
                                           ]
         st1 <- staticText sw [text := "This is an example to verify the functionality of scrolledWindow in wxwidget, so let's go to see what's going on!!!!."]
         st2 <- staticText sw [text := "staticText 2."]
         set sw [layout := column 5 [ expand $ widget st1
                                                , expand $ widget st2
                                                 ]
                    ]
         set f [layout := fill $ widget sw]
         return ()
 
---------------------------------------------------------

2009/12/23 Jeremy O'Donoghue <jeremy.odonoghue-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Hi Carlos,
 
I assume from the posted code that what you really want is a StaticText widget with a scroll bar, and that you wish to 'force' the scroll bar to be present at all times (default behaviour of all widgets is that scroll bars appear only when they are needed).
 
The code I have just tested to do this is:
 
module Main where

import Data.Bits

import Graphics.UI.WXCore
import Graphics.UI.WX

main :: IO ()
main = start gui

gui :: IO ()
gui = do f   <- frame   [text := "Frame"]
         tcl <- textCtrl f [text := "This is an example of using an scroll bar with wxhaskell, it looks like don't work, so it's true?",
                            style := wxTE_READONLY .|. wxHSCROLL .|. wxVSCROLL]
         set f  [layout := fill $ widget tcl, clientSize := sz 200 200]
         return ()
 
Compared to your code, there are a few differences:
 
It is sufficient, for simple cases, to simply set the wxHSCROLL and/or wxVSCROLL style on most windows if you want them to have permanent scroll bars. The wxTE_READONLY style replicates a StaticText (i.e. it sets text control to be read only) but with multiple lines. If you just want a single line, StaticText can be used instead.
 
You should set a clientSize on the parent frame - if you do not, all widgets will be fittedt to their minimum possible size. The use of the fill combinator in the layout indicates that I want the TextCtrl to fit the whole of the allocated space.
 
Hope this helps.
 
Best regards
Jeremy
 
 
On Tue, 22 Dec 2009 20:41 -0400, "carlos gomez" <carliros.g-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi all
 
I am trying to use scrolled windows with wxhaskell, but it doesn't work,
 
Am I doing rightly?
 
here is the code:
----------------------------------------------------
module Gui where
 
import Graphics.UI.WXCore
import Graphics.UI.WX
 
main :: IO ()
main = start gui
 
gui :: IO ()
gui = do f   <- frame   [text := "Frame"]
         pnl <- scrolledWindow f [scrollRate := sz 20 20]
         sal <- staticText pnl [text := "This is an example of using an scroll bar with wxhaskell, it looks like don't work, so it's true?"]
         set pnl [layout := widget sal]
         set f  [layout := column 5 [widget pnl]]
         return ()
----------------------------------------------------
 
--carlos
-- Jeremy O'Donoghue jeremy.odonoghue-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
-- Jeremy O'Donoghue jeremy.odonoghue-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Mark Norrish | 8 Jan 2010 10:45
Picon
Picon

wxHaskell

Hello,
I'm trying to learn how to use wxHaskell and I want to try drawing some simple objects. However, functions like circle require a (DC a) argument, and I don't know how to make a DC so I can't get anything to work. Does anyone have, say, a list of examples of how to make a (DC a)?
Thanks,
Mark Norrish

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Bernd Holzmüller | 10 Jan 2010 17:10
Picon

Re: wxHaskell

Hi Mark,

a DC instance is provided by the paint event. Thus you can write something like the following:

    let drawScene dc _ = do  ...
    drawingPanel <- panel p [on paint := drawScene]

Best Regards,
Bernd

Hello,
I'm trying to learn how to use wxHaskell and I want to try drawing some simple objects. However, functions like circle require a (DC a) argument, and I don't know how to make a DC so I can't get anything to work. Does anyone have, say, a list of examples of how to make a (DC a)?
Thanks,
Mark Norrish ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ wxhaskell-users mailing list wxhaskell-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/wxhaskell-users
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Pedro Martins | 10 Jan 2010 01:55
Picon
Gravatar

Re: wxHaskell

Hello,


You have access to a DC when within a handler where you're supposed to draw.

For instance, for the event paint:

paint :: Paint w => Event w (DC () -> Rect -> IO ())

The handler that you're supposed to provide is of type (DC () -> Rect -> IO ()) so when that handler gets called, a DC is passed in as an argument (so you just need to define a handler function that uses it).

I suggest you see the example Paint.hs in the samples/wx folder of a source distribution:

Hope that helped.

Regards,
Pedro 

On Fri, Jan 8, 2010 at 9:45 AM, Mark Norrish <u4530174 <at> anu.edu.au> wrote:
Hello,
I'm trying to learn how to use wxHaskell and I want to try drawing some simple objects. However, functions like circle require a (DC a) argument, and I don't know how to make a DC so I can't get anything to work. Does anyone have, say, a list of examples of how to make a (DC a)?
Thanks,
Mark Norrish
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
wxhaskell-users mailing list
wxhaskell-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxhaskell-users


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Mark Norrish | 11 Jan 2010 10:37
Picon
Picon

Re: wxHaskell

Hello all,
Thanks a bunch for the help. It's working now.
Cheers,
Mark Norrish


> Hello,

> I'm trying to learn how to use wxHaskell and I want to try drawing some simple objects. However, functions like circle require a (DC a) argument, and I don't know how to make a DC so I can't get anything to work. Does anyone have, say, a list of examples of how to make a (DC a)?
> Thanks,
> Mark Norrish > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > > _______________________________________________ > wxhaskell-users mailing list > wxhaskell-users <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Mark Norrish | 12 Jan 2010 09:13
Picon
Picon

Importing modules

Hello,
I'm trying to write a script with wxHaskell involving modules, but GHC doesn't seem able to find them. My program has a main module, Main.hs:

module Main where
import Graphics.UI.WX
import BlobboControls -- Blobbo is a circle one can move around the screen
functions...

and BlobboControls.hs containing

import BlobboControls where
import Graphics.UI.WX
more functions...

and when I try to compile it, I get

mark <at> mark-laptop:~/MyCode/Blobbo$ ghc -v -package wx -o main Main.hs
Glasgow Haskell Compiler, Version 6.10.4, for Haskell 98, stage 2 booted by GHC version 6.10.4
Using package config file: /usr/lib/ghc-6.10.4/./package.conf
Using package config file: /home/mark/.ghc/i386-linux-6.10.4/package.conf
hiding package base-3.0.3.1 to avoid conflict with later version base-4.1.0.0
wired-in package ghc-prim mapped to ghc-prim-0.1.0.0
wired-in package integer mapped to integer-0.1.0.1
wired-in package base mapped to base-4.1.0.0
wired-in package rts mapped to rts-1.0
wired-in package haskell98 mapped to haskell98-1.0.1.0
wired-in package syb mapped to syb-0.1.0.1
wired-in package template-haskell mapped to template-haskell-2.3.0.1
wired-in package dph-seq[""] not found.
wired-in package dph-par[""] not found.
Hsc static flags: -static
Created temporary directory: /tmp/ghc5654_0
*** Checking old interface for main:Main:
*** Parser:
*** Renamer/typechecker:

Main.hs:3:0:
    Failed to load interface for `BlobboControls':
      locations searched:
        BlobboControls.hi
        BlobboControls.hi-boot
*** Deleting temp files:
Deleting: /tmp/ghc5654_0/ghc5654_0.s
Warning: deleting non-existent /tmp/ghc5654_0/ghc5654_0.s
*** Deleting temp dirs:
Deleting: /tmp/ghc5654_0

Does anyone know why GHC could not BlobboControls.hs, or the module in the .hi files?
Thank you for your time,
Mark Norrish

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Malcolm Wallace | 12 Jan 2010 12:03
Picon

Re: Importing modules

> mark <at> mark-laptop:~/MyCode/Blobbo$ ghc -v -package wx -o main Main.hs
> Main.hs:3:0:
>     Failed to load interface for `BlobboControls':
>       locations searched:
>         BlobboControls.hi
>         BlobboControls.hi-boot

You omitted the --make argument to ghc, so it is compiling only  
Main.hs, not the other modules.

Regards,
     Malcolm

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Fernando Benavides | 12 Jan 2010 12:57
Picon
Gravatar

Re: wxhaskell-users Digest, Vol 41, Issue 2

Mark:

That's maybe because in your BlobboControls.hs your are using

import BlobboControls where ...

instead of

module BlobboControls where ...

Hope this helps :)


Date: January 12, 2010 5:13:52 AM GMT-03:00
Subject: [wxhaskell-users] Importing modules


Hello,
I'm trying to write a script with wxHaskell involving modules, but GHC doesn't seem able to find them. My program has a main module, Main.hs:

module Main where
import Graphics.UI.WX
import BlobboControls -- Blobbo is a circle one can move around the screen
functions...

and BlobboControls.hs containing

import BlobboControls where
import Graphics.UI.WX
more functions...

and when I try to compile it, I get

mark <at> mark-laptop:~/MyCode/Blobbo$ ghc -v -package wx -o main Main.hs
Glasgow Haskell Compiler, Version 6.10.4, for Haskell 98, stage 2 booted by GHC version 6.10.4
Using package config file: /usr/lib/ghc-6.10.4/./package.conf
Using package config file: /home/mark/.ghc/i386-linux-6.10.4/package.conf
hiding package base-3.0.3.1 to avoid conflict with later version base-4.1.0.0
wired-in package ghc-prim mapped to ghc-prim-0.1.0.0
wired-in package integer mapped to integer-0.1.0.1
wired-in package base mapped to base-4.1.0.0
wired-in package rts mapped to rts-1.0
wired-in package haskell98 mapped to haskell98-1.0.1.0
wired-in package syb mapped to syb-0.1.0.1
wired-in package template-haskell mapped to template-haskell-2.3.0.1
wired-in package dph-seq[""] not found.
wired-in package dph-par[""] not found.
Hsc static flags: -static
Created temporary directory: /tmp/ghc5654_0
*** Checking old interface for main:Main:
*** Parser:
*** Renamer/typechecker:

Main.hs:3:0:
    Failed to load interface for `BlobboControls':
      locations searched:
        BlobboControls.hi
        BlobboControls.hi-boot
*** Deleting temp files:
Deleting: /tmp/ghc5654_0/ghc5654_0.s
Warning: deleting non-existent /tmp/ghc5654_0/ghc5654_0.s
*** Deleting temp dirs:
Deleting: /tmp/ghc5654_0

Does anyone know why GHC could not BlobboControls.hs, or the module in the .hi files?
Thank you for your time,
Mark Norrish 

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ______________

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Andy Gimblett | 12 Jan 2010 11:47
Picon
Gravatar

Re: Importing modules

If you want ghc to chase dependencies when building an executable,  
pass it the --make flag, ie try:

> ghc --make -v -package wx -o main Main.hs

I think this will give you what you need - though I'm assuming  
those .hi files don't exist, ie you haven't compiled them separately  
and not told us.  :-)

Personally, I always build via cabal these days.  More info in section  
2.4 of: http://www.haskell.org/haskellwiki/How_to_write_a_Haskell_program

Hope this helps,

-Andy

On 12 Jan 2010, at 08:13, Mark Norrish wrote:

> Hello,
> I'm trying to write a script with wxHaskell involving modules, but  
> GHC doesn't seem able to find them. My program has a main module,  
> Main.hs:
>
> module Main where
> import Graphics.UI.WX
> import BlobboControls -- Blobbo is a circle one can move around the  
> screen
> functions...
>
> and BlobboControls.hs containing
>
> import BlobboControls where
> import Graphics.UI.WX
> more functions...
>
> and when I try to compile it, I get
>
> mark <at> mark-laptop:~/MyCode/Blobbo$ ghc -v -package wx -o main Main.hs

[snip]

> Main.hs:3:0:
>     Failed to load interface for `BlobboControls':
>       locations searched:
>         BlobboControls.hi
>         BlobboControls.hi-boot
> *** Deleting temp files:
> Deleting: /tmp/ghc5654_0/ghc5654_0.s
> Warning: deleting non-existent /tmp/ghc5654_0/ghc5654_0.s
> *** Deleting temp dirs:
> Deleting: /tmp/ghc5654_0
>
> Does anyone know why GHC could not BlobboControls.hs, or the module  
> in the .hi files?

--
Andy Gimblett
http://gimbo.org.uk/

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
David Streader | 14 Jan 2010 01:15
Picon
Picon

wxHaskell documentation

So far I  love wxHaskell when I stay safely within by simple understanding.
But as soon as I step out side of my limited knowledge  I am  totally lost.
    So *Question one*:  What is the best source of documentation?
An example - I have successfully  used grids to generate layout for a 
frame/ dialog.  But I need to know the name of a grid so that I can 
later set some of its attributes (add rows cols, ....).  The only 
commands I have found (in example code) to do this are

g <- gridCreate parent id rect flags
gridCreateGrid g 0 0 0

But I have failed to find and documentation for gridCreate or 
gridCreateGrid  where should I look.

*Question two*: Would it be better to use the wxWidgets documentation?  
if so is there any documented way to translate wxWidgets method calls  
into Haskell?

Many thanks in advance
    david streader

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev

Gmane