Files
create/src/Gui/ViewProviderDocumentObject.pyi
2025-11-11 19:34:32 +00:00

29 lines
688 B
Python

# SPDX-License-Identifier: LGPL-2.1-or-later
from __future__ import annotations
from ViewProvider import ViewProvider
from typing import Any, Final
class ViewProviderDocumentObject(ViewProvider):
"""
This is the ViewProvider base class
Author: Werner Mayer (wmayer@users.sourceforge.net)
Licence: LGPL
"""
def update(self) -> None:
"""
Update the view representation of the object
"""
...
Object: Any = ...
"""Set/Get the associated data object"""
ForceUpdate: bool = False
"""Reference count to force update visual"""
Document: Final[Any] = ...
"""Return the document the view provider is part of"""