В сообщении от Monday 11 August 2008 13:24:19 Sascha Wilde написал(а):
Sascha Wilde wilde@sha-bang.de wrote:
Sorry, send the last message to early per accident, here are the missing
questions:
BUT: The string "Redisplay #1" _is_ redrawn, so some more low level part of CLIM knows that a redraw is needed and does that for the text send to the standard output stream.
So two questions:
What do I have to do, so that the display-function is called _every time_ a redisplay is needed?
Is there a better way to ensure that the picture is redisplayed whenever needed, maybe even that magical es done with the text?
There is a :display-time initarg for panes. It controls when the :display-function is called.
But, there is a handle-repaint method (which is a part of Sheet Repaint Protocol) that does the repaint. As I understand, :display-function is a more high-level (it's defined for stream panes), and it outputs not pixels on screen (which is a job for handle-repaint), but outputs objects onto pane.
(I myself do not have a good knowledge of CLIM, so whatever I say might be wrong).