Skip to content

Commit 68215b0

Browse files
authored
Add setLocation()
1 parent f766a67 commit 68215b0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

_build/reference/624-graphics-window.markdown

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,16 @@ text "that can save her people and restore"
155155
text "freedom to the galaxy...."
156156
```
157157

158+
### setLocation(x, y)
159+
160+
Sets the location of the window on the screen.
161+
162+
```
163+
w = window()
164+
w.setLocation(100, 100)
165+
```
166+
167+
158168
### setSize(w, h)
159169

160170
Sets the width and height of the SmallBASIC window.

0 commit comments

Comments
 (0)