Gui: Convert XML bindings to Python API bindings model.

This converts the existing XML binding files to the new Python bindings
generator model.
This commit is contained in:
tritao
2025-02-10 21:48:38 +00:00
committed by Chris Hennes
parent 325ae6fd9a
commit 7cbbe403cc
14 changed files with 1442 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
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"""