From: carlos g. <car...@gm...> - 2009-12-23 00:41:21
|
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 |