A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
|
|
@ -0,0 +1,15 @@
|
|||
(use-package :ltk)
|
||||
|
||||
(defun show-message (text)
|
||||
"Show message in a label on a Tk window"
|
||||
(with-ltk ()
|
||||
(let* ((label (make-instance 'label :text text))
|
||||
(button (make-instance 'button :text "Done"
|
||||
:command (lambda ()
|
||||
(ltk::break-mainloop)
|
||||
(ltk::update)))))
|
||||
(pack label :side :top :expand t :fill :both)
|
||||
(pack button :side :right)
|
||||
(mainloop))))
|
||||
|
||||
(show-message "Goodbye World")
|
||||
Loading…
Add table
Add a link
Reference in a new issue