Skip to content

Move window.Headless annotation out of comment #2102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions arcade/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def __init__(
gl_version = 3, 1
gl_api = "gles"

#: bool: If this is a headless window
self.headless = pyglet.options.get("headless") is True
#: Whether this is a headless window
self.headless: bool = pyglet.options.get("headless") is True

config = None
# Attempt to make window with antialiasing
Expand Down
4 changes: 2 additions & 2 deletions arcade/experimental/clock/clock_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ def __init__(
gl_version = 3, 1
gl_api = "gles"

#: bool: If this is a headless window
self.headless = pyglet.options.get("headless") is True
#: Whether this is a headless window
self.headless: bool = pyglet.options.get("headless") is True

config = None
# Attempt to make window with antialiasing
Expand Down
Loading