
Hello Duncan, Monday, July 23, 2007, 4:02:42 AM, you wrote:
i've taken a look at gtk2hs, but 2 reasons forced me to give wxHaskell a try:
- native appearance
I think that's pretty good these days, the native theme on Windows has been getting better and better from Gtk+ 2.6 to the current 2.10
it's good and i don't complain about its quality. what i mean here is just what it looks like Unix apps, not like native windows ones. afaiu, GTK paints all controls itself without using native controls and therefore controls look at Windows just the same as in Unix
- current lack of high-level properties machinery in gtk2hs
Actually Gtk2Hs and wxHaskell have a very similar properties api (they both stole it off of an older Haskell GUI lib) and we're planning to make further improvements to that in the current development cycle.
yes, there is API but as far as i see, it's not yet fully implemented for each type of control. for example, in TreeDemo.hs and DirList.hs examples there are lots of handmade calls - compare them to FileBrowse.hs wxHaskell example (although i may be unfair here, but it seems that wxHaskell example uses properties more extensively) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com