LispWidgetToolkit

ORKIT, the lisp widget toolkit is a simple GUI toolkit that is currently designed around the Win32 API; CLISP is the target common lisp implementation.

This is the LispWidgetToolkit until I come up with a better name

Welcome

Welcome members and non members, I hope to be keeping you posted on my GUI related LISP work. Ideally I am thinking Win32, I am pretty sure that there are solely open source GUI frameworks out there for example, motif related or GTK, but this will focus on Win32 and CLISP.

This current snapshot includes Dialog Box creation, Menu support, and wrappers for the Win32 GDI.

Visit Widget Toolkit for more information.

You can also visit:

LispGUI Google groups

http://orkit.blogspot.com/ - a blog devoted to this project.

Example Code

;;;
;;; Create a dialog box and add buttons
;;;
(defun dialog-box ()
  (let* ((dlobj
	  (make-wtk-dialogobject 
	   :dlgxpos 30 :dlgypos 40 :dlgheight 480))
	 (dlgbox
	  (wtk-createdialogbox dlobj)))
    (wtk-additem dlgbox
		 (make-wtk-dialogobject
		  :dlgtype "button"
		  :dlgxpos 2 :dlgypos 2 :dlgwidth 50 :dlgheight 50
		  :dlgtext "Submit"
		  :dlgid 1005
		  ))
    (wtk-additem dlgbox
		 (make-wtk-dialogobject
		  :dlgtype "editbox"
		  :dlgtext "This is fun"
		  :dlgxpos 54 :dlgypos 2 :dlgwidth 50 :dlgheight 20
		  :dlgid 1010
		  ))
       (wtk-startdialogbox dlgbox 
			:wm-init-proc #'proc-init-dialog
			:wm-action-proc #'proc-action-dialog)
    (wtk-freedialog dlgbox)
    ))

Seeking Developers

If anyone is interested in helping me create this lisp based windowing library, contact me at:

Berlin Brown(gmail)
(and I also hang around #lisp on irc.freenode as Ramza2(3))
(or see start a topic in the google-group above)


This page is in the Graphics library topic.

Category: graphics library

CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively