This commit is contained in:
wpferguson 2021-01-28 19:59:40 +00:00
parent 2307a20b36
commit f9d445db74
2 changed files with 11 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

@ -2746,7 +2746,7 @@ The snapshot file will be generated at the next redraw of the main window</p>
name : string, name : string,
callback : function callback : function
) )
</code></pre><p>Register a function providing extra info to display in the widget</p> </code></pre><p>Register a field in the image information module with a callback function to update the field</p>
<ul> <ul>
<li><strong>name</strong> - <em>string</em> - The name displayed for the new information</li> <li><strong>name</strong> - <em>string</em> - The name displayed for the new information</li>
<li><strong>callback</strong> - <em>function</em> - The function providing the info</li> <li><strong>callback</strong> - <em>function</em> - The function providing the info</li>
@ -2759,6 +2759,15 @@ The snapshot file will be generated at the next redraw of the main window</p>
<li><strong>image</strong> - <em><a href="../../types/dt_lua_image_t">types.dt_lua_image_t</a></em> - The image to analyze</li> <li><strong>image</strong> - <em><a href="../../types/dt_lua_image_t">types.dt_lua_image_t</a></em> - The image to analyze</li>
<li><strong>return</strong> - <em>string</em> - The extra information to display</li> <li><strong>return</strong> - <em>string</em> - The extra information to display</li>
</ul> </ul>
<h3 id="darktableguilibsmetadata_viewdestroy_info"><a href="#darktableguilibsmetadata_viewdestroy_info">🔗</a>darktable.gui.libs.metadata_view.destroy_info</h3>
<p><strong>lua API 6.2.0</strong></p>
<pre><code>function(
name : string
)
</code></pre><p>Remove the named field from the image information module and it&rsquo;s associated callback</p>
<ul>
<li><strong>name</strong> - <em>string</em> - The name of the field, created by <a href="#darktable.gui.libs.metadata_view.register_info">darktable.gui.libs.metadata_view.register_info</a>, to remove</li>
</ul>
<h2 id="darktableguilibsmetadata"><a href="#darktableguilibsmetadata">🔗</a>darktable.gui.libs.metadata</h2> <h2 id="darktableguilibsmetadata"><a href="#darktableguilibsmetadata">🔗</a>darktable.gui.libs.metadata</h2>
<p>The widget allowing modification of metadata fields on the current image</p> <p>The widget allowing modification of metadata fields on the current image</p>
<p>Attributes:</p> <p>Attributes:</p>