0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00

docs/sphinx: Fix incorrect callback information

This commit is contained in:
VodBox 2020-08-31 11:52:34 +12:00
parent 288a84dc95
commit bc084bc10b

View File

@ -274,8 +274,10 @@ modules/namespaces).
.. py:function:: obs_properties_add_button(properties, setting_name, text, callback)
Adds a button properties to an obs_properties_t object. The callback
takes no parameters.
Adds a button property to an obs_properties_t object. The callback
takes two parameters: the first parameter is the obs_properties_t
object, and the second parameter is the obs_property_t for the
button.
:param properties: An obs_properties_t object.
:param setting_name: A setting identifier string.