hsfm/src/GUI/Gtk.hs

26 lines
288 B
Haskell
Raw Normal View History

2015-12-17 03:42:22 +00:00
{-# OPTIONS_HADDOCK ignore-exports #-}
module Main where
import Graphics.UI.Gtk
import GUI.Gtk.Gui
import Safe
(
headDef
)
import System.Environment
(
getArgs
)
2015-12-17 03:42:22 +00:00
main :: IO ()
main = do
_ <- initGUI
args <- getArgs
startMainWindow (headDef "/" args)
2015-12-17 03:42:22 +00:00
mainGUI