| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
GTK2
GTK2.Gnome2Canvas

# 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.