Page 329 Table of Contents Index Page 331
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



CHAPTER 30. GADGETS

=> :drag-up-line-callback [Init Arg]
=> :drag-down-page-callback [Init Arg]
=> :drag-up-page-callback [Init Arg]
Specifies the drag and other callbacks for the scroll bar.

=> scroll-bar-drag-callback scroll-bar [Generic Function]
Returns the function that will be called when the indicator of the scroll bar is dragged. This
function will be invoked with a two arguments, the scroll bar and the new value.

=> scroll-bar-scroll-to-bottom-callback scroll-bar [Generic Function]
=> scroll-bar-scroll-to-top-callback scroll-bar [Generic Function]
=> scroll-bar-drag-down-line-callback scroll-bar [Generic Function]
=> scroll-bar-drag-up-line-callback scroll-bar [Generic Function]
=> scroll-bar-drag-down-page-callback scroll-bar [Generic Function]
=> scroll-bar-drag-up-page-callback scroll-bar [Generic Function]
Returns the functions that will be used as callbacks when various parts of the scroll bar are
clicked on. These are all functions of a single argument, the scroll bar.

When any of these functions returns nil, that indicates that there is no callback of that type
for the gadget.

=> drag-callback scroll-bar client gadget-id value [Callback Generic Function]
This callback is invoked when the value of the scroll bar is changed while the indicator is being
dragged. This is implemented by calling the function stored in scroll-bar-drag-callback
with two arguments, the scroll bar and the new value.

The value-changed-callback is invoked only after the indicator is released after dragging it.

=> scroll-to-top-callback scroll-bar client gadget-id [Callback Generic Function]
=> scroll-to-bottom-callback scroll-bar client gadget-id [Callback Generic Function]
=> scroll-up-line-callback scroll-bar client gadget-id [Callback Generic Function]
=> scroll-up-page-callback scroll-bar client gadget-id [Callback Generic Function]
=> scroll-down-line-callback scroll-bar client gadget-id [Callback Generic Function]
=> scroll-down-page-callback scroll-bar client gadget-id [Callback Generic Function]
All of the callbacks above are invoked when appropriate parts of the scroll bar are clicked on. Note
that each implementation may not have "hot spots" corresponding to each of these callbacks.

=> gadget-value (button scroll-bar) [Method]
Returns a real number within the specified range.

=> scroll-bar-pane [Class]
The class that implements a portable scroll bar; a subclass of scroll-bar.


Page 329 Table of Contents Index Page 331
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E