Material: Convert XML bindings to Python.
This commit is contained in:
committed by
Benjamin Nauck
parent
35420022e9
commit
4ec136b252
32
src/Mod/Material/App/MaterialLibrary.pyi
Normal file
32
src/Mod/Material/App/MaterialLibrary.pyi
Normal file
@@ -0,0 +1,32 @@
|
||||
from Base.Metadata import export, constmethod
|
||||
from Base.BaseClass import BaseClass
|
||||
from typing import Final
|
||||
|
||||
@export(
|
||||
Include="Mod/Material/App/MaterialLibrary.h",
|
||||
Namespace="Materials",
|
||||
Constructor=True,
|
||||
Delete=True,
|
||||
)
|
||||
class MaterialLibrary(BaseClass):
|
||||
"""
|
||||
Material library.
|
||||
|
||||
Author: DavidCarter (dcarter@davidcarter.ca)
|
||||
Licence: LGPL
|
||||
"""
|
||||
|
||||
Name: str = ...
|
||||
"""Name of the library"""
|
||||
|
||||
Icon: str = ...
|
||||
"""String value of the icon."""
|
||||
|
||||
Directory: str = ...
|
||||
"""Local directory where the library is located. For non-local libraries this will be empty"""
|
||||
|
||||
ReadOnly: bool = ...
|
||||
"""True if the library is local."""
|
||||
|
||||
Local: bool = ...
|
||||
"""True if the library is local."""
|
||||
Reference in New Issue
Block a user