Package: gtk
Function gtk-widget-translate-coordinates
Lambda Listgtk-widget-translate-coordinates (src dst src-x src-y) Argumentssrc -- a gtk-widget object dest -- a gtk-widget object src-x -- an integer with the x position relative to src src-y -- an integer with the y position relative to src Return ValueFalse if either the widget was not realized, or there was no
common ancestor. Otherwise the x position and the y position relative to dest. Details Translate coordinates relative to the allocation of src to coordinates relative to the allocations of dest.
In order to perform this operation, both widgets must be realized, and must
share a common toplevel. | See also |
2021-9-19