gtkWidgetTranslateCoordinates {RGtk2} | R Documentation |
Translate coordinates relative to src.widget
's allocation to coordinates
relative to dest.widget
's allocations. In order to perform this
operation, both widgets must be realized, and must share a common
toplevel.
gtkWidgetTranslateCoordinates(object, dest.widget, src.x, src.y)
|
[GtkWidget ] a GtkWidget |
|
[GtkWidget ] a GtkWidget |
|
[integer] X position relative to src.widget |
|
[integer] Y position relative to src.widget |
A list containing the following elements:
retval |
[logical] FALSE if either widget was not realized, or there
was no common ancestor. In this case, nothing is stored in
*dest.x and *dest.y . Otherwise TRUE . |
|
[integer] location to store X position relative to dest.widget |
|
[integer] location to store Y position relative to dest.widget |
Derived by RGtkGen from GTK+ documentation