示例#1
0
 def startup_id(self) -> str | None:
     return str_or_none(self._ptr.startup_id)
示例#2
0
 def display_name(self) -> str | None:
     return str_or_none(self._ptr.display_name)
示例#3
0
 def wm_instance(self) -> str | None:
     return str_or_none(self._ptr.wm_instance)
示例#4
0
 def role(self) -> str | None:
     return str_or_none(self._ptr.role)
示例#5
0
 def title(self) -> str | None:
     return str_or_none(self._ptr.title)
示例#6
0
 def wm_class(self) -> str | None:
     # `self._ptr.class` is invalid syntax but this works.
     return str_or_none(getattr(self._ptr, "class"))
示例#7
0
 def title(self) -> str | None:
     """The title of the toplevel object"""
     return str_or_none(self._ptr.title)
示例#8
0
 def app_id(self) -> str | None:
     """The app id of the toplevel object"""
     return str_or_none(self._ptr.app_id)
示例#9
0
 def serial(self) -> str | None:
     return str_or_none(self._ptr.serial)
示例#10
0
 def model(self) -> str | None:
     return str_or_none(self._ptr.model)
示例#11
0
 def make(self) -> str | None:
     return str_or_none(self._ptr.make)
示例#12
0
 def description(self) -> str | None:
     """The description of the output"""
     return str_or_none(self._ptr.description)
示例#13
0
 def name(self) -> str | None:
     """The name of the output"""
     return str_or_none(self._ptr.name)