diff options
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/conf.py | 4 | ||||
-rw-r--r-- | docs/source/luascript/ref-devices.rst | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py index d0227f52c06..e7f52cf5e9e 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -63,9 +63,9 @@ copyright = u'1997-2023, MAMEdev and contributors' # built documents. # # The short X.Y version. -version = '0.261' +version = '0.262' # The full version, including alpha/beta/rc tags. -release = '0.261' +release = '0.262' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/source/luascript/ref-devices.rst b/docs/source/luascript/ref-devices.rst index 17b34ef1914..1c3eabdbd2d 100644 --- a/docs/source/luascript/ref-devices.rst +++ b/docs/source/luascript/ref-devices.rst @@ -553,6 +553,12 @@ image:display() Returns a “front panel display” string for the device, if supported. This can be used to show status information, like the current head position or motor state. +image:add_media_change_notifier(callback) + Add a callback to receive notifications when a media image is loaded or + unloaded for the device. The callback is passed a single string argument + which will be ``"loaded"`` if a media image has been loaded or + ``"unloaded"`` if the previously loaded media image has been unloaded. + Returns a :ref:`notifier subscription <luascript-ref-notifiersub>`. Properties ~~~~~~~~~~ |