Guides
Position
1. Using parameters when creating a window
app = Pyloid(app_name="Pyloid-App")
window = app.create_window("Pyloid-Window", x=100, y=100)2. Using the set_position method
The window position is determined by the x and y parameters.
app = Pyloid(app_name="Pyloid-App")
window = app.create_window("Pyloid-Window")
window.set_position(x=100, y=100)3. Using the set_position_by_anchor method
The window position is determined by the anchor parameter.
The position is set based on the available screen space (excluding the taskbar).
Available anchor positions:
topleftrightbottomtop-lefttop-rightbottom-leftbottom-rightcenter
app = Pyloid(app_name="Pyloid-App")
window = app.create_window("Pyloid-Window")
window.set_position_by_anchor("center")