Skip to content
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

document an Apple API limitation of the windows method #292

Closed
wants to merge 2 commits into from
Closed
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
2 changes: 1 addition & 1 deletion docs/docs/api/19-space.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ end
- `isNormal()` returns `true` if the space is a normal space
- `isFullScreen()` returns `true` if the space is a full screen space
- `screens()` returns all screens to which the space belongs to
- `windows(Map<String, AnyObject> optionals)` returns all windows for the space if no optionals are given
- `windows(Map<String, AnyObject> optionals)` returns all windows for the space if no optionals are given; be aware that it only returns the windows of the currently visible spaces. When a space is not on a visible, the returned list will be empty.
- `addWindows(Array<Window> windows)` adds the given windows to the space (< macOS 12.0)
- `removeWindows(Array<Window> windows)` removes the given windows from the space (< macOS 12.0)

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/api/21-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ end
- `isHidden()` returns `true` if the app is hidden
- `isTerminated()` returns `true` if the app has been terminated
- `mainWindow()` returns the main window for the app, returns `undefined` if the app does not currently have a main window
- `windows(Map<String, AnyObject> optionals)` returns all windows for the app if no optionals are given
- `windows(Map<String, AnyObject> optionals)` returns all windows for the app if no optionals are given; be aware that it only returns the windows of the currently visible spaces. When an app is not on a visible space, the returned list will be empty.
- `activate()` activates the app and brings its windows forward, returns `true` if successful
- `focus()` activates the app and brings its windows to focus, returns `true` if successful
- `show()` shows the app, returns `true` if successful
Expand Down