Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion arcade/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -1213,6 +1213,7 @@ def open_window(
window_title: str | None = None,
resizable: bool = False,
antialiasing: bool = True,
**kwargs,
) -> Window:
"""
Shortcut for opening/creating a window with less options.
Expand All @@ -1231,9 +1232,13 @@ def open_window(
Whether the user can resize the window.
antialiasing:
Whether to use antialiasing
**kwargs:
Additional keyword arguments to pass to the window constructor.
"""
global _window
_window = Window(width, height, window_title, resizable=resizable, antialiasing=antialiasing)
_window = Window(
width, height, window_title, resizable=resizable, antialiasing=antialiasing, **kwargs
)
_window.invalid = False
return _window

Expand Down