Skip to content

Conversation

@Processori7
Copy link

Adding Linux-specific code :
To _pygetwindow_linux.all the methods that are required to work with windows in Linux are implemented. The Zlib library is used to interact with the window manager. Support in init.py :
Added verification for the Linux platform (sys.platform.startswith("linux")). The necessary functions and classes are imported from _pygetwindow_linux. Functions for working with windows :
getActiveWindow: Returns the active window.
getAllWindows: Returns a list of all windows.
get Windows With Title: Finds windows by title.
getAllTitles: Returns the titles of all windows.

The code has been successfully tested on the latest version of Lubuntu, along with the latest versions of TKinter and CustomTkinter

To _pygetwindow_linux.all the methods that are required to work with windows in Linux are implemented.
The Zlib library is used to interact with the window manager.
Support in __init__.py :
Added verification for the Linux platform (sys.platform.startswith("linux")).
The necessary functions and classes are imported from _pygetwindow_linux.
Functions for working with windows :
getActiveWindow: Returns the active window.
getAllWindows: Returns a list of all windows.
get Windows With Title: Finds windows by title.
getAllTitles: Returns the titles of all windows.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant