[wxCL-devel] RE: How will we do it?
Status: Alpha
Brought to you by:
efuzzyone
From: <EFu...@ne...> - 2005-07-16 09:00:25
|
Hello everyone, joerg.pr@ol... wrote: >Scott wrote: >> Surendra wrote: >>> 3. Should provide wrappers allowing >>> users to create dialog boxes, message >>> boxes, and some other such simple stuff. >> >> Will we do this by something like this? >> (setf *window* (wx:window-new :title "foo")) >> (wx:window-show *window*) > >Yes and No. > >If this would be the interface to wxWidgets on a higher level, than >wxWidgets had succeeded in imposing a CPP-style of development on CL >applications. Only a thin layer at the FFI should use such functions, >otherwise we would introduce reference counting (or the like) to a garbage >collected language like Lisp. I think for the release 1.0, a thin FFI layer should suffice. >Let me suggest a different approach which fits better to the Lisp style of >development >_ (with-window >___ (*window* :title “foo” >_____________ :menubar *menubar-description* >_____________ :show-on-creation t) > This is a good idea, but the way I see things is that, initially we should just endeavor to provide raw ffi bindings first for clisp. And then when that is done, some of us should work on porting to other implementations, while a small group should work on providing the object system, a top layer which binds to the different implementations and thus provide an implementation independent way of creating GUI. I agree with Joerg"s layered approach. > >Note that if WX:WINDOW-NEW was to be intergrated into the CL naming scheme >for creators, it should be named MAKE-WINDOW, making it easier to remember >for Lispers. For the ffi layer implementation, we should have a naming convention such that the function names are same(or close to) the wxWidgets name, only thing is that they might have the implementation "clisp" as the package name. The lisp style of naming should be used for the top layer. -- Surendra Singhi http://www.public.asu.edu/~sksinghi/index.htm __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp |