Method GTK2.Gnome2Canvas()->set_scroll_region()
- Method
set_scroll_region
set_scroll_region(Gnome2.Canvas
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.