Extracted from Pike v7.8 release 352 at 2012-06-24.
pike.ida.liu.se
[Top]
GTK2
GTK2.TextView

Method GTK2.TextView()->buffer_to_window_coords()


Method buffer_to_window_coords

array buffer_to_window_coords(int wintype, int buffer_x, int buffer_y)

Description

Converts coordinate (buffer_x,buffer_y) to coordinates for the window win, and returns the results. wintype is one of TEXT_WINDOW_BOTTOM , TEXT_WINDOW_LEFT , TEXT_WINDOW_PRIVATE , TEXT_WINDOW_RIGHT , TEXT_WINDOW_TEXT , TEXT_WINDOW_TOP and TEXT_WINDOW_WIDGET .