v9n279 - scrolling canvasses in sunview

Daryl Krauter texsun!edsr!sanjacinto!dek at convex.UUCP
Fri Aug 10 00:34:46 AEST 1990


You need to set the attribut SCROLL_LINE_HEIGHT to a value greater than
zero as you'll notice that its value defaults to 0.

use:
	scrollbar_create(SCROLL_LINE_HEIGHT, 64, 0);

and the 'page button' will cause a scroll of 64 pixels, ideal for
scrolling through a canvas full of icons

Daryl Krauter
Electronic Data Systems
(214) 490-2718




More information about the Comp.sys.sun mailing list