YPixels returns the y coordinate of the *WindowBase, relative to the screen for RootWidgets like *MainWindow or *Dialog and relative to the parent for child Windows.
()
| 1728 | // RootWidgets like *MainWindow or *Dialog and relative to the parent for |
| 1729 | // child Windows. |
| 1730 | func (wb *WindowBase) YPixels() int { |
| 1731 | return wb.window.BoundsPixels().Y |
| 1732 | } |
| 1733 | |
| 1734 | // SetY sets the y coordinate of the *WindowBase, relative to the screen for |
| 1735 | // RootWidgets like *MainWindow or *Dialog and relative to the parent for |