summaryrefslogtreecommitdiffstats
path: root/demo4.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-02-07 19:31:41 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-02-07 19:31:41 -0800
commit425f8c12f896238956c05fca0bd7173c0481615e (patch)
tree23e48e56e0852ebf53f08a1fcb218fc06da0c231 /demo4.tl
parentdce8b7c20eaf1fbf1e7199eb04684a92c217d4d9 (diff)
downloadgtk-demos-425f8c12f896238956c05fca0bd7173c0481615e.tar.gz
gtk-demos-425f8c12f896238956c05fca0bd7173c0481615e.tar.bz2
gtk-demos-425f8c12f896238956c05fca0bd7173c0481615e.zip
Change demo4 to exception throwing test.
Diffstat (limited to 'demo4.tl')
-rwxr-xr-xdemo4.tl4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo4.tl b/demo4.tl
index 918df4a..f969f4c 100755
--- a/demo4.tl
+++ b/demo4.tl
@@ -2,6 +2,6 @@
(defun demo4 ()
(window demo4 demos "de minimis" 300 150)
- (box v deminimisbox4 demo4)
- (text deminimismsg4 "This demo is not yet defined." deminimisbox4)
+ (box v mainbox4 demo4)
+ (button throwit "Throw" mainbox4 (error "Yikes!"))
(gtk_widget_show_all demo4))