Docs: correct doc-strings
This commit is contained in:
@@ -557,8 +557,7 @@ void RNA_api_ui_layout(StructRNA *srna)
|
|||||||
RNA_def_boolean(func, "emboss", true, "", "Draw the button itself, just the icon/text");
|
RNA_def_boolean(func, "emboss", true, "", "Draw the button itself, just the icon/text");
|
||||||
parm = RNA_def_property(func, "icon_value", PROP_INT, PROP_UNSIGNED);
|
parm = RNA_def_property(func, "icon_value", PROP_INT, PROP_UNSIGNED);
|
||||||
RNA_def_property_ui_text(parm, "Icon Value", "Override automatic icon of the item");
|
RNA_def_property_ui_text(parm, "Icon Value", "Override automatic icon of the item");
|
||||||
parm = RNA_def_pointer(func, "properties", "OperatorProperties", "",
|
parm = RNA_def_pointer(func, "properties", "OperatorProperties", "", "Operator properties to fill in");
|
||||||
"Operator properties to fill in, return when 'properties' is set to true");
|
|
||||||
RNA_def_parameter_flags(parm, 0, PARM_REQUIRED | PARM_RNAPTR);
|
RNA_def_parameter_flags(parm, 0, PARM_REQUIRED | PARM_RNAPTR);
|
||||||
RNA_def_function_return(func, parm);
|
RNA_def_function_return(func, parm);
|
||||||
RNA_def_function_ui_description(func, "Item. Places a button into the layout to call an Operator");
|
RNA_def_function_ui_description(func, "Item. Places a button into the layout to call an Operator");
|
||||||
|
@@ -2862,8 +2862,8 @@ PyDoc_STRVAR(BPy_PointerProperty_doc,
|
|||||||
"name=\"\", "
|
"name=\"\", "
|
||||||
"description=\"\", "
|
"description=\"\", "
|
||||||
"options={'ANIMATABLE'}, "
|
"options={'ANIMATABLE'}, "
|
||||||
"update=None, "
|
"poll=None, "
|
||||||
"poll=None)\n"
|
"update=None)\n"
|
||||||
"\n"
|
"\n"
|
||||||
" Returns a new pointer property definition.\n"
|
" Returns a new pointer property definition.\n"
|
||||||
"\n"
|
"\n"
|
||||||
@@ -3001,7 +3001,7 @@ PyObject *BPy_CollectionProperty(PyObject *self, PyObject *args, PyObject *kw)
|
|||||||
}
|
}
|
||||||
|
|
||||||
PyDoc_STRVAR(BPy_RemoveProperty_doc,
|
PyDoc_STRVAR(BPy_RemoveProperty_doc,
|
||||||
".. function:: RemoveProperty(cls, attr="")\n"
|
".. function:: RemoveProperty(cls, attr)\n"
|
||||||
"\n"
|
"\n"
|
||||||
" Removes a dynamically defined property.\n"
|
" Removes a dynamically defined property.\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
Reference in New Issue
Block a user