Skip to content

Commit fd64ad1

Browse files
committed
add docs for skipTaskbar and hiddenInMissionControl
1 parent cc081fd commit fd64ad1

File tree

1 file changed

+28
-0
lines changed
  • resources/views/docs/desktop/1/the-basics

1 file changed

+28
-0
lines changed

resources/views/docs/desktop/1/the-basics/windows.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,34 @@ Window::open()
366366
->hideMenu();
367367
```
368368

369+
### Taskbar and Mission Control Visibility
370+
371+
You may control whether a window appears in the taskbar and Mission Control.
372+
373+
#### Skip Taskbar
374+
375+
By default, all windows created with the `Window` facade will appear in the taskbar on Windows and macOS.
376+
You may use the `skipTaskbar()` method to prevent a window from appearing in the taskbar.
377+
378+
```php
379+
Window::open()
380+
->skipTaskbar();
381+
```
382+
383+
This is useful for utility windows, floating toolboxes, or background windows that should not clutter the taskbar.
384+
385+
#### Hidden in Mission Control
386+
387+
On macOS, all windows will appear in Mission Control by default.
388+
You may use the `hiddenInMissionControl()` method to prevent a window from appearing when the user toggles into Mission Control.
389+
390+
```php
391+
Window::open()
392+
->hiddenInMissionControl();
393+
```
394+
395+
This is particularly useful for always-on-top utility windows or menubar applications that should not be visible in Mission Control.
396+
369397
## Window Title Styles
370398

371399
### Default Title Style

0 commit comments

Comments
 (0)