diff options
author | mifpasoti <46360451+mifpasoti@users.noreply.github.com> | 2019-01-17 16:30:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-17 16:30:44 -0500 |
commit | 15cbbb1a853019910e6928427113c9ee6b0fcfba (patch) | |
tree | 3438fd903107f268bf7d8096759569eff9120250 /demo4 | |
parent | 7d48098c0dc8fd6225865065635168fdb3a323c7 (diff) | |
download | gtk-demos-15cbbb1a853019910e6928427113c9ee6b0fcfba.tar.gz gtk-demos-15cbbb1a853019910e6928427113c9ee6b0fcfba.tar.bz2 gtk-demos-15cbbb1a853019910e6928427113c9ee6b0fcfba.zip |
Add files via upload
Diffstat (limited to 'demo4')
-rw-r--r-- | demo4 | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +#!/bin/bash +sbcl --script << 'EOF' 2> >(sed '/^Backtrace/,$d;/^; /d') + +; Refer to the demostuff file for definitions and descriptions. + +(load "demostuff") + +(defun main () + (gapp demo4 + (window win demo4 "Demos Menu" 300 200) + (box h outerbox win) + (box v mainbox outerbox) + (mbutton button1 "Four Button Demo" mainbox (dodemo 1)) + (mbutton button2 "Numerals Demo" mainbox (dodemo 2)) + (mbutton button3 "Dates Demo" mainbox (dodemo 3)) + (gtk_widget_show_all win)) + (g_application_run demo4 0 nil) + (g_object_unref demo4)) + +(defun dodemo (which) + (sb-ext:run-program (format nil "demo~d" which) nil)) + +(main) + +EOF |