[App] Use keyword arguments when adding properties to Document

This commit is contained in:
Ajinkya Dahale
2023-08-18 20:33:00 +05:30
parent 28e0f5e9ff
commit 1ac9cb35b7
2 changed files with 23 additions and 9 deletions

View File

@@ -104,12 +104,10 @@ attach (Boolean): if True, then bind the document object first before adding to
viewType (String): override the view provider type directly, only effective when attach is False.</UserDocu>
</Documentation>
</Methode>
<Methode Name="addProperty">
<Methode Name="addProperty" Keyword="true">
<Documentation>
<UserDocu>
addProperty(string, string) -- Add a generic property.
The first argument specifies the type, the second the
name of the property.
addProperty(type: string, name: string, group="", doc="", attr=0, read_only=False, hidden=False) -- Add a generic property.
</UserDocu>
</Documentation>
</Methode>