blob: 9030ccda8bf95ad70d84360ec56065c7324d3824 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
from typing import Optional
from zope import interface
from zope.interface import Attribute
class IDesktop(interface.Interface):
mapping = Attribute("""Correspondance between application and layer""")
def getForegroundWindowTitle(self) -> Optional[str]:
""" Return the name of the selected window
"""
def start(self) -> None:
""" Start listening the events
"""
|