Haskell bindings to EFL
The goal of this project is to provide interface to the EFL libs and elementary toolkit. For now there isn't much to see, but it already can be used to implement a GUI app equivalent to the one from Getting Started section of Elementary docs.
import Graphics.Rendering.Evas import Graphics.Rendering.Evas.Smart import Graphics.UI.Elementary import Graphics.UI.Elementary.Widgets.Window as WIN import Graphics.UI.Elementary.Widgets.Window.Util import Graphics.UI.Elementary.Widgets.Box as BOX import Graphics.UI.Elementary.Widgets.Label as LBL import Graphics.UI.Elementary.Widgets.Button as BTN main = do initGUI win <- addStandard "hello" "Hello" onEvent "delete,request" win mainQuit box <- BOX.add win BOX.setHorizontal box True WIN.addResizeObject win box objectShow box lab <- LBL.add win objectSetText lab "Hello out there world!" addToPackEnd box lab objectShow lab btn <- BTN.add win objectSetText btn "OK" addToPackEnd box btn objectShow btn onEvent "clicked" btn mainQuit objectShow win mainGUI shutdownGUI