From: Henk-Jan v. T. <hj...@ch...> - 2010-01-14 23:59:57
|
On Thu, 14 Jan 2010 01:15:31 +0100, David Streader <ds...@cs...> wrote: > 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? wxWidgets doumentation can be useful, but wxWidgets doesn't have a simple one to one relationship with wxHaskell. The following link points to a description of wxGrid::CreateGrid: http://docs.wxwidgets.org/trunk/classwx_grid.html#0a3c0ccf91753666e40dd117ccc84637 Regards, Henk-Jan van Tuyl -- http://Van.Tuyl.eu/ http://functor.bamikanarie.com http://members.chello.nl/hjgtuyl/tourdemonad.html -- |