From 17c0820d2fa63a94df68be7720729f35f078f869 Mon Sep 17 00:00:00 2001 From: CodeYan01 <65320293+CodeYan01@users.noreply.github.com> Date: Mon, 28 Nov 2022 22:30:29 +0800 Subject: [PATCH] docs: Add info on property modified callback --- docs/sphinx/reference-properties.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/sphinx/reference-properties.rst b/docs/sphinx/reference-properties.rst index 069ebf11d..8f469df00 100644 --- a/docs/sphinx/reference-properties.rst +++ b/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) 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: