plover.oslayer.wmctrl – Window management#

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

plover.oslayer.wmctrl.GetForegroundWindow()#

Return the process ID (PID) of the program that currently has the frontmost window on the screen.

plover.oslayer.wmctrl.SetForegroundWindow(pid)#

Allow the program with the specified PID to display the frontmost window.