Called when an output-pane is resized.
capi
output-pane-resize output-pane x y width height
output-pane-resize (output-pane output-pane) (x t) (y t) (width t) (height t)
output-pane⇩ |
An output-pane. |
Non-negative integers. |
The generic function output-pane-resize
is called when the output-pane output-pane is resized. width and height specify the new width and height. x and y specify the position, but are not reliable and should not be used.
output-pane-resize
should not called by the user.
The primary method specialized on output-pane sets up internal slots and calls the resize-callback.
:resize-callback
initarg. It is useful to define your own output-pane-resize
method only when you define your own subclass of output-pane which needs to do something when resizing, and you want to allow different resize-callbacks for individual instances of this class.output-pane-resize
should not draw anything. Newly-exposed areas are automatically displayed by a later call to the display-callback. If areas that are already exposed need redrawing, output-pane-resize
should call invalidate-rectangle to mark these areas for the display-callback.
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42