Skip to content

Commit 3326d34

Browse files
committed
Linux: Improved window geometry (elraymond (https://github.com/elraymond))
ALL: Improved default onQuery/onSet methods
1 parent 79185d4 commit 3326d34

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Diff for: CHANGES.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
0.1, 2023/08/21 -- Linux: Improved window geometry (thanks to Leonard Bruns - https://github.com/roym899)
1+
0.1, 2023/08/21 -- Linux: Improved window geometry (thanks to elraymond - (https://github.com/elraymond)
22
ALL: Improved default onQuery/onSet methods
33
0.0.5, 2023/07/19 -- Initial release
44
0.0.1, 2023/05/22 -- Initial version

Diff for: README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,12 @@ To manage window areas, you need to also pass the window handle when instantiati
3131
(Search for cross-platform modules if you need a cross-platform handle. For instance, you can get this kind of handles
3232
using PyWinCtl's getHandle(), getAppName() or title methods)
3333

34-
In this case, you can use the default methods to manage the window when its properties are queried or set
35-
(passing them as None):
34+
In this case, you can use the default methods to manage the window when its properties are queried or set:
3635

3736
- default OnQuery: Will update the window position and size values when any property is queried
3837
- default OnSet: Will move and/or resize the window when any property is set
3938

40-
.
39+
To use default methods, just pass them as None, like this:
4140

4241
myBox = pywinbox.PyWinBox(onQuery=None, onSet=None, handle=windowHandle)
4342

Diff for: dist/PyWinBox-0.2-py3-none-any.whl

8 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)