Method Gnome2.Canvas()->set_scroll_region()
- Method
set_scroll_region
Gnome2.Canvasset_scroll_region(floatx1,floaty1,floatx2,floaty2)- 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.