Pike v8.1 release 6

Method GTK2.Gnome2Canvas()->set_center_scroll_region()


Method set_center_scroll_region

Gnome2.Canvas set_center_scroll_region(int setting)

Description

When the scrolling region of the canvas is smaller than the canvas window, e.g. the allocation of the canvas, it can be either centered on the window or simply made to be on the upper-left corner on the window.