freenode/#clim - IRC Chatlog
Search
9:30:07
ikrabbe
Good morning, today I found a strange behaviour: I wrote a present function for some type. That present function simply prints the object in bold type. Now, in the listener it tries to present the object, but the stream (some drei editor thing) is a string-output-stream, but no extended one, that can be styled in any way, so it breaks. Is that intended?
9:38:06
beach
That sounds strange. I mean, the listener can display any object including graphics. Are you sure you presented it to the right stream.
9:39:11
beach
I can believe that the stream associated with Drei is a string input stream, but I can't see how that would be the stream that the listener uses to display things.
9:48:47
lukego
This is looking like a pleasant day of CLIM'ery for me :-). That's assuming CLIM is the tool for the job I have in mind, which is to use drawing operations like draw-rectangle/with-translation/with-scaling, and output not actual graphics but rather geometry information such as the list of drawn rectangles/polygons with their absolute positions. Am I on the right track? Use output recording and inspect the output records?
9:51:45
beach
I can't think of any. But there are two variables that control drawing and recording. If you set them to NIL and T respectively, you should get the desired effect.
9:52:21
beach
And the stream has an output history which is the root of the tree that contains the output records.
9:52:43
lukego
Is there an easy way to do this such that it doesn't need e.g. X11? (I mean since I don't need to render graphics anywhere but only do the geometry operationS)