Skip to content

Commit

Permalink
fix(docs): Widget.Window.monitor: move the docstring from the setter …
Browse files Browse the repository at this point in the history
…to the GObject.Property itself
  • Loading branch information
linkfrg committed Dec 25, 2024
1 parent 0425f22 commit 51da554
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ignis/widgets/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,6 @@ def popup(self, value: bool) -> None:

@GObject.Property
def monitor(self) -> int:
return self._monitor

@monitor.setter
def monitor(self, value: int) -> None:
"""
- optional, read-write
Expand All @@ -287,6 +283,10 @@ def monitor(self, value: int) -> None:
Raises:
:class:`~ignis.exceptions.MonitorNotFoundError` if the monitor with the given ID is not found.
"""
return self._monitor

@monitor.setter
def monitor(self, value: int) -> None:
if value is None:
return

Expand Down

0 comments on commit 51da554

Please sign in to comment.