Pixmap-port
Hello,
Is it a (undocumented) function to update the size of a pixmap-port ?
When resizing a window, the off-screen port attached to the main pane has to
be resized several time.
Actually (on LWM OS 10.4), because I didn't find this function, I destroy
and recreate the port each time. The change-geometry-callback off the
interface call something like this :
(defun resize-offscreen-port (pane)
(destroy-pixmap-port (offscreen-port pane))
(setf (offscreen-port pane)
(create-pixmap-port pane (port-width pane)
(port-height pane) :background :white :clear t)))
It works, but when I quit LW the soft crashes, sometimes with a terminal
message of type (by memory) ³signal bus error : segmentation violation².
And this crash occurs only if I had resized this interface.
Something wrong ?
Thanks by advance
Denis
----------------------------------------------------
Denis Pousseur
6 clos du Drossart
1180 Bruxelles, Belgique
Mail : denis.pousseur@compositeurs.be
Website : http://compositeurs.be
----------------------------------------------------