SetYPixels sets the y coordinate of the *WindowBase, relative to the screen for RootWidgets like *MainWindow or *Dialog and relative to the parent for child Windows.
(value int)
| 1742 | // RootWidgets like *MainWindow or *Dialog and relative to the parent for |
| 1743 | // child Windows. |
| 1744 | func (wb *WindowBase) SetYPixels(value int) error { |
| 1745 | bounds := wb.window.BoundsPixels() |
| 1746 | bounds.Y = value |
| 1747 | |
| 1748 | return wb.SetBoundsPixels(bounds) |
| 1749 | } |
| 1750 | |
| 1751 | // Width returns the outer width of the *WindowBase, including decorations. |
| 1752 | func (wb *WindowBase) Width() int { |
no test coverage detected