You must be logged in to do that.

WindowSetPosition

WindowSetPosition
void WindowSetPosition(int window, int x, int y)

Documentation

WindowSetPosition moves a given window to the specified coordinates. The (x, y) coordinates are the position of the upperleft corner of the window relative to the screen the window is being displayed on.

Example Usage

// The window is at (0,0)!
int debug_window = WindowCreate(0, 0, 100, 100, "Debug");
// The window is now at (100,100)!
WindowSetPosition(debug_window, 100, 100);

Talkback

There are no talkbacks on this documentation page yet. Post the first?

Post a new comment?

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.