diff options
author | Camil Staps | 2019-10-23 08:50:07 +0200 |
---|---|---|
committer | Camil Staps | 2019-10-23 08:50:42 +0200 |
commit | b6325f4e396400f6f9ef22346e3125982e88af3f (patch) | |
tree | c61612acd85d0045c81e3f37b2aacbc90fc3cca7 /test | |
parent | Add TraverseHandler for GtkSheet (diff) |
Fix config; remove test
Diffstat (limited to 'test')
-rw-r--r-- | test/test.icl | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/test.icl b/test/test.icl deleted file mode 100644 index 5341e9f..0000000 --- a/test/test.icl +++ /dev/null @@ -1,27 +0,0 @@ -module test - -import StdMaybe - -import Control.Applicative -import Control.Monad -import Control.Monad.Identity -import Control.Monad.State - -import Gtk - -Start w = runGtk app w -where - app = - newWindow "Hello!" Nothing >>= \window -> - installSignalHandler window (DestroyHandler quit) >>| - framed (Label "label") (newPaned Horizontal WideHandle) >>= \(paned,frame) -> - setMargins (margin 8) frame >>| - addToContainer frame window >>| - newTextView >>= \text_view_a -> - newTextView >>= \text_view_b -> - setMargins (margin 3) text_view_a >>| - setMargins (margin 3) text_view_b >>| - packPane1 text_view_a paned Resize NoShrink >>| - packPane2 text_view_b paned Resize NoShrink >>| - insertAtCursor "Hello" (getTextBuffer text_view_a) >>| - insertAtCursor "world!" (getTextBuffer text_view_b) |