Pike v8.1 release 6

Method GTK2.Gnome2Canvas()->set_scroll_region()


Method set_scroll_region

Gnome2.Canvas set_scroll_region(float x1, float y1, float x2, float y2)

Description

Sets the scrolling region of a canvas to the specified rectangle. The canvas will then be able to scroll only within this region. The view of the canvas is adjusted as appropriate to display as much of the new region as possible.