Accesses the scroll-if-not-visible-p attribute of a pane.
capi
scroll-if-not-visible-p pane => value
(setf scroll-if-not-visible-p) value pane => value
scroll-if-not-visible-p (pane simple-pane)
(setf scroll-if-not-visible-p) value (pane simple-pane)
pane⇩ |
A pane. |
value⇩ |
One of t , nil or :non-mouse . |
value⇩ |
One of t , nil or :non-mouse . |
The accessor generic function scroll-if-not-visible-p
gets and sets the scroll-if-not-visible-p attribute of pane.
value can be one of the following:
t | |
nil |
Never scroll the parent to make a pane visible. |
:non-mouse |
scroll-if-not-visible-p
is called by CAPI each time it may need to scroll the parent. The method on simple-pane returns a value that is kept internally, and can be set by the default setf method.
You can specialize scroll-if-not-visible-p
on your classes, but note that it is called often when the user clicks on any pane, so it must be reasonably fast.
The setter sets the scroll-if-not-visible-p attribute. It is called when the initarg :scroll-if-not-visible-p
is used in making a simple-pane (or a subclass) instance, and can be called by your program. value must be t
, nil
or :non-mouse
.
The method on simple-pane sets the internal value that is used by scroll-if-not-visible-p
on simple-pane.
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42