mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-05-11 17:15:43 +02:00
9 lines
235 B
Python
9 lines
235 B
Python
from typing import Protocol, runtime_checkable
|
|
|
|
|
|
@runtime_checkable
|
|
class BecTerminal(Protocol):
|
|
"""Implementors of this protocol must also be subclasses of QWidget"""
|
|
|
|
def write(self, text: str, add_newline: bool = True): ...
|