Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs_src/source/custom_ux_hacking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ In the following python example the **FLOOD** button is rename to **FOO** and th
To try out the following yourself, save the python below to a file called ``custom_probebasic.py`` under your machine config directory (``~/linuxcnc/configs/{my_machine}/custom_probebasic.py``).

.. code:: python

from probe_basic.probe_basic import ProbeBasic

class CustomProbeBasic(ProbeBasic):
Expand All @@ -43,6 +44,7 @@ To try out the following yourself, save the python below to a file called ``cust
# rename the Mist button
self.mist_button.setText("Bar")


Then edit the ``~/linuxcnc/configs/{my_machine}/custom_config.yml`` file and add the line ``provider: custom_probebasic:CustomProbeBasic`` just under ``mainwindow:``

**Before:**
Expand Down