Skip to content

Commit

Permalink
docs/sphinx: Fix incorrect callback information
Browse files Browse the repository at this point in the history
  • Loading branch information
VodBox committed Aug 31, 2020
1 parent 288a84d commit bc084bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/sphinx/scripting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bc084bc

Please sign in to comment.