瀏覽代碼

docs: Add info on property modified callback

CodeYan01 3 年之前
父節點
當前提交
17c0820d2f
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      docs/sphinx/reference-properties.rst

+ 3 - 1
docs/sphinx/reference-properties.rst

@@ -580,7 +580,9 @@ Property Modification Functions
               void obs_property_set_modified_callback2(obs_property_t *p, obs_property_modified2_t modified2, void *priv)
               void obs_property_set_modified_callback2(obs_property_t *p, obs_property_modified2_t modified2, void *priv)
 
 
    Allows the ability to change the properties depending on what
    Allows the ability to change the properties depending on what
-   settings are used by the user.
+   settings are used by the user. The callback should return ``true``
+   if the property widgets need to be refreshed due to changes to the
+   property layout.
 
 
    Relevant data types used with these functions:
    Relevant data types used with these functions: