File: oslayer_wmctrl.md

package info (click to toggle)
plover 5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,356 kB
  • sloc: python: 21,589; sh: 682; ansic: 25; makefile: 11
file content (15 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# `plover.oslayer.wmctrl` -- Window management

This module provides wrappers for platform-specific window management functions.

```{py:module} plover.oslayer.wmctrl
```

```{function} GetForegroundWindow()
Return the process ID (PID) of the program that currently has the
frontmost window on the screen.
```

```{function} SetForegroundWindow(pid)
Allow the program with the specified PID to display the frontmost window.
```