John Klein <[EMAIL PROTECTED]> writes: > Hello, > > Does anyone still use the Motif toolkit [ ie (require 'clm), package XT] ? > The CMU graphical debugger seems to use it, but no one seems to mention it > on the list so my guess is that it is largely unused and forgotten.
I looked at this stuff a couple of months ago. It appears to be maintained to the extent that the gui debugger and inspector require, but I don't think there's much active development. > What is the relation between the motif toolkit that comes with CMUCL > [1] and that which is described in the Encycmuclopedia under the heading > 'CLM -- A Language Binding for Common Lisp and OSF Motif' at [2]? > > The documentation for CLM [2] generally seems to work for the CMUCL interface, > but the document [3] suggests that they are not the same thing, and that > that [2] uses an XLIB representation for objects rather than a homebrew > representation. Is this the only difference? Does anyone know > the history of the two? All I know about this comes from the CLiki page, so I'll just link to it rather than try to summarize: http://ww.telent.net/cliki/CLM > The reason why I am asking is that I can't get certain features to work > in the cmucl motif interface though they are described in the docs of CLM. > For example, I think I should be able to make a non-resizable toplevel > window by > (xt:create-application-shell :allow-shell-resize NIL) > following the examples in [2], but the window always turns out to be resizable, > which messes up my attempts at making a robust drawing widget. Also, > I can't seem to be able to figure out how to make a drawing area of > a fixed size: > (xt:create-drawing-area parent-window "name" :height 100 :width 100) > seems to expand the window beyond its requested size. I don't know the answer to this, but feel free to ask more questions here, as I *did* manage to find a lot of workarounds for various problems I had. > Incidentally, the Motif interface seems quite spiffy, and adding a small CLOS > interface between XT and the lisp world might make a perfectly nice standard > graphic toolkit for CMUCL. I start something along these lines. Everything worked pretty well until I decided to dynamically create and destroy widgets and widget hierarchies. I don't know motif well enough to pull this off, and I don't have time to learn it now. Good luck and best wishes, cbb -- 20:01:51 up 28 days, 21:44, 2 users, load average: 0.10, 0.08, 0.03
