X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=tabbar%2Ftest.icl;fp=tabbar%2Ftest.icl;h=0000000000000000000000000000000000000000;hb=4b62b5d397d86147e393c05b3083af74a3a0c4af;hp=0837b067448b2de44021095f7286dc08e4af8918;hpb=e5305ee9d4290e1aa803a2e62a14f32e5cd29782;p=clean-tests.git diff --git a/tabbar/test.icl b/tabbar/test.icl deleted file mode 100644 index 0837b06..0000000 --- a/tabbar/test.icl +++ /dev/null @@ -1,21 +0,0 @@ -module test -import qualified Data.Map as DM -import iTasks - -Start w = doTasks - (parallel - [(Embedded, tab "tab1") - ,(Embedded, tab "tab2") - ] - [ OnAction (Action "New") (always (Embedded, tab "New tab")) - , OnAction (Action " ") (always (Embedded, tab "New tab")) - , OnAction (Action "Close") (never (Embedded, \_->treturn ())) - , OnAction (Action "Dis no icon") (never (Embedded, \_->treturn ())) - , OnAction (Action "+") (always (Embedded, \_->treturn ())) - ] - <<@ ArrangeWithTabs True - <<@ ApplyLayout (setActionIcon ('DM'.put " " "new" 'DM'.newMap)) - ) w - -tab title _ = viewInformation [] () <<@ Title title - >>* [OnAction (Action "Close") (always (treturn ()))]