CLIM mail archive

[Prev][Next][Index][Thread]

Re: lack of :extend-width arg to clim:formatting-table



   Date: Fri, 3 Apr 1992 10:50-0800
   From: "William M. York" <York@chuck-jones.west.dialnet.ila.com>

       Date: Thu, 2 Apr 1992 14:03 PST
       From: Scott McKay <SWM@sapsucker.scrc.symbolics.com>

   	Date: Thu, 2 Apr 1992 16:47 EST
   	From: "Meir Laker" <meir@watson.ibm.com>

   	3. Is the method I specify above (using a helper stream and bounding
   	rectangle) a reasonable approach if I don't want to hack the
   	clim:formatting-table code at the moment?

       I would find it easier to extend CLIM:TABLE-FORMATTING, but of course I
       am familiar with the code.  You might find it easier, too, but your
       approach is not unreasonable if you are willing to pay the performance
       penalty.

   You don't really have to modify or extend the table-formatting
   code to do this (although it would be more efficient if the
   capability was "built-in" to table formatting).  In fact, you can
   (almost) do it without resorting to any magic CLIM internals at
   all.

   The following code shows how you can post-process a formatted
   table to extend the columns across the full width of the window.
   It only using one CLIM internal funciton, MAP-OVER-TABLE-COLUMNS.
   See if it does what you want.

   [code omitted for brevity]

The code extends the columns across the width of the window as
advertised.  Thank you.  Unfortunately, only the first column retains
mouseability.  (This is true in the table-of-squares example in your
code as well as in my own application frame.  I tried your example in
the CLIM Lisp Listener example code on Genera.)  I assume that this is
a CLIM bug.  Any idea how to fix it?

Meir laker



Main Index | Thread Index