summaryrefslogtreecommitdiffstats
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
parentdce8b7c20eaf1fbf1e7199eb04684a92c217d4d9 (diff)
downloadgtk-demos-425f8c12f896238956c05fca0bd7173c0481615e.tar.gz
gtk-demos-425f8c12f896238956c05fca0bd7173c0481615e.tar.bz2
gtk-demos-425f8c12f896238956c05fca0bd7173c0481615e.zip
Change demo4 to exception throwing test.
-rwxr-xr-xdemo4.tl4
-rwxr-xr-xmenu.tl2
2 files changed, 3 insertions, 3 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))
diff --git a/menu.tl b/menu.tl
index a0d3dff..06df079 100755
--- a/menu.tl
+++ b/menu.tl
@@ -8,7 +8,7 @@
(mbutton dodemo1 "Four Button Demo" mainbox (demo1))
(mbutton dodemo2 "Numerals Demo" mainbox (demo2))
(mbutton dodemo3 "Dates Demo" mainbox (demo3))
- (mbutton dodemo4 "de minimis" mainbox (demo4))
+ (mbutton dodemo4 "Exceptions" mainbox (demo4))
(mbutton dodemo5 "de minimis" mainbox (demo5))
(mbutton dodemo6 "de minimis" mainbox (demo6))
(mbutton dodemo7 "de minimis" mainbox (demo7))