Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
GTK2
GTK2.Gnome2Canvas

Method GTK2.Gnome2Canvas()->scroll_to()


Method scroll_to

Gnome2.Canvas scroll_to(int cx, int cy)

Description

Makes a canvas scroll to the specified offsets, given in canvas pixel units. The canvas will adjust the view so that it is not outside the scrolling region. This function is typically not used, as it is better to hook scrollbars to the canvas layout's scrolling adjustments.