Skip to content

Commit

Permalink
cleanup titles
Browse files Browse the repository at this point in the history
  • Loading branch information
vanosg committed Dec 31, 2023
1 parent bf318c8 commit c5fb723
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/sphinx_source/modules/internals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ To create a new type of bind, there are generally three steps. First, you must a

.. _Bind Table:

Bind Table Creation
-------------------
Adding a New Bind Type to the Bind Table
----------------------------------------

The bind table is added by calling, either at module initialization or startup
The bind is added to the bind table is by calling, either at module initialization or startup

.. code-block:: C
Expand Down Expand Up @@ -56,8 +56,8 @@ To enable this feature, you must set the second argument to ``add_bind_table()``

.. _C Function:

Triggering the Bind
-------------------
Adding Bind Functionality
-------------------------

A C function must created that will be called when the bind is triggered. Importantly, the function is designed to accept specific arguments passed by Tcl.

Expand Down Expand Up @@ -89,8 +89,8 @@ This shows which arguments the callbacks in Tcl get:

The call to :code:`check_tcl_dcc` can be found in the DCC parsing in `src/dcc.c`.

Tcl Binding
-----------
Using the Bind in Tcl
---------------------

After the bind table is created with :code:`add_bind_table`, Tcl procs can already be registered to this bind by calling

Expand Down

0 comments on commit c5fb723

Please sign in to comment.