clog-gui-window api

This commit is contained in:
David Botton 2021-02-11 09:59:57 -05:00
parent b79a343163
commit 2ce26b6e78
4 changed files with 287 additions and 219 deletions

View file

@ -5,9 +5,9 @@
(in-package :clog-user)
(defun on-file-new (body)
(setf (set-on-window-size-done (create-gui-window body))
(lambda (obj)
(print "sized"))))
(let ((win (create-gui-window body)))
(dotimes (n 100)
(create-div (window-content win) :content n))))
(defun on-new-window (body)
(clog-gui-initialize body)