Add locked keyword argument to DocumentObject::addProperty
This commit is contained in:
committed by
Kacper Donat
parent
c16935dce4
commit
d6958ea1e6
@@ -71,10 +71,11 @@ class DocumentObject(ExtensionContainer):
|
||||
attr: int = 0,
|
||||
read_only: bool = False,
|
||||
hidden: bool = False,
|
||||
locked: bool = False,
|
||||
enum_vals: list = []
|
||||
) -> "DocumentObject":
|
||||
"""
|
||||
addProperty(type: string, name: string, group="", doc="", attr=0, read_only=False, hidden=False, enum_vals=[]) -- Add a generic property.
|
||||
addProperty(type: string, name: string, group="", doc="", attr=0, read_only=False, hidden=False, locked = False, enum_vals=[]) -- Add a generic property.
|
||||
"""
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user