darktable.gui.libs on darktable lua documentation https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/ Recent content in darktable.gui.libs on darktable lua documentation Hugo -- gohugo.io en-us darktable.gui.libs overview https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/overview/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/overview/ This table allows referencing all lib objects. lib objects are the graphical blocks within each view. To quickly figure out which lib is which, you can use the following code, which will make a given lib blink. local dt = require "darktable" local tested_module="global_toolbox" dt.gui.libs[tested_module].visible=false dt.control.sleep(2000) while true do dt.gui.libs[tested_module].visible = not dt.gui.libs[tested_module].visible dt.control.sleep(2000) end darktable.gui.libs.backgroundjobs https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/backgroundjobs/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/backgroundjobs/ The window displaying the currently running jobs Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.camera https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/camera/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/camera/ The camera selection UI Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.collect https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/collect/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/collect/ The collection UI element that allows to filter images by collection Attributes: has_tostring parent : types.dt_lua_lib_t đź”—darktable.gui.libs.collect.filter function( [rules : array of types.dt_lib_collect_params_rule_t] ) : array oftypes.dt_lib_collect_params_rule_t Get or change the list of visible images Attributes: implicit_yield [rules] - array of types.dt_lib_collect_params_rule_t - A table of rules describing the filter. These rules will be applied after this call return - array of types. darktable.gui.libs.colorlabels https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/colorlabels/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/colorlabels/ The color buttons that allow to set labels on an image Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.colorpicker https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/colorpicker/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/colorpicker/ The colorpicker menu Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.copy_history https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/copy_history/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/copy_history/ The UI element that manipulates history Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.darktable_label https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/darktable_label/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/darktable_label/ The darktable logo in the upper left corner Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.export https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/export/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/export/ The export menu Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.filmstrip https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/filmstrip/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/filmstrip/ The filmstrip at the bottom of some views Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.filter https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/filter/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/filter/ The image-filter menus at the top of the UI Attributes: has_tostring parent : types.dt_lua_lib_t đź”—darktable.gui.libs.filter.sort function( [sort : types.dt_collection_sort_t] ) : types.dt_collection_sort_t Change the collection sort field. [sort] - types.dt_collection_sort_t - The new field to sort by. If empty the current sort field is unchanged return - types.dt_collection_sort_t = The current sort field. đź”—darktable.gui.libs.filter.sort_order function( [order : types.dt_collection_sort_order_t] ) : types.dt_collection_sort_order_t Change the collection sort order. darktable.gui.libs.geotagging https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/geotagging/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/geotagging/ The geotagging time synchronisation UI Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.global_toolbox https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/global_toolbox/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/global_toolbox/ The common tools to all view (settings, grouping…) Attributes: has_tostring parent : types.dt_lua_lib_t đź”—darktable.gui.libs.global_toolbox.grouping boolean- The current status of the image grouping option Attributes: write đź”—darktable.gui.libs.global_toolbox.show_overlays boolean - the current status of the image overlays option Attributes: write darktable.gui.libs.hinter https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/hinter/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/hinter/ The small line of text at the top of the UI showing the number of selected images Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.histogram https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/histogram/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/histogram/ The histogram widget Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.history https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/history/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/history/ The history manipulation menu Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.image https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/image/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/image/ The UI element that manipulates the current images Attributes: has_tostring parent : types.dt_lua_lib_t đź”—darktable.gui.libs.image.register_action function( name : string, label : string, callback : function, [tooltip : string] ) Add a new button and call a callback when it is clicked name - string - A unique name for the action that can be referenced later to destroy it label - string - The label to display on the button callback - function - The function to call when the button is pressed [tooltip] - string - The tooltip to use on the new button callback - darktable.gui.libs.import https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/import/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/import/ The buttons to start importing images Attributes: has_tostring parent : types.dt_lua_lib_t đź”—darktable.gui.libs.import.register_widget function( widget : types.lua_widget ) Add a widget in the option expander of the import dialog widget - types.lua_widget - The widget to add to the dialog. The reset callback of the widget will be called whenever the dialog is opened. darktable.gui.libs.lighttable_mode https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/lighttable_mode/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/lighttable_mode/ The navigation and zoom level UI in lighttable Attributes: has_tostring parent : types.dt_lua_lib_t đź”—darktable.gui.libs.lighttable_mode.layout function( [layout : types.dt_lighttable_layout_t] ) : types.dt_lighttable_layout_t Change the lighttable layout. [layout] - types.dt_lighttable_layout_t - The layout to switch to. If empty the current layout is unchanged return - types.dt_lighttable_layout_t - the current layout đź”—darktable.gui.libs.lighttable_mode.zoom_level function( [level : int] ) : int Change the lighttable zoom level. [level] - int - The zoom level to switch to. darktable.gui.libs.live_view https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/live_view/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/live_view/ The liveview window Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.location https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/location/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/location/ The location ui Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.map_settings https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/map_settings/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/map_settings/ The map setting window Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.masks https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/masks/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/masks/ The masks window Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.metadata https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/metadata/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/metadata/ The widget allowing modification of metadata fields on the current image Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.metadata_view https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/metadata_view/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/metadata_view/ The widget displaying metadata about the current image Attributes: has_tostring parent : types.dt_lua_lib_t đź”—darktable.gui.libs.metadata_view.register_info function( name : string, callback : function ) Register a field in the image information module with a callback function to update the field name - string - The name displayed for the new information callback - function - The function providing the info callback - function( image : types.dt_lua_image_t ) : string image - types. darktable.gui.libs.modulegroups https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/modulegroups/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/modulegroups/ The icons describing the different iop groups Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.module_toolbox https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/module_toolbox/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/module_toolbox/ The tools on the bottom line of the UI (overexposure) Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.navigation https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/navigation/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/navigation/ The full image preview to allow navigation Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.print_settings https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/print_settings/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/print_settings/ The settings window in the print view Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.ratings https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/ratings/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/ratings/ The stars to set the rating of an image Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.recentcollect https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/recentcollect/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/recentcollect/ The recent collection UI element Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.select https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/select/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/select/ The buttons that allow quickly changing the selection Attributes: has_tostring parent : types.dt_lua_lib_t đź”—darktable.gui.libs.select.register_selection function( name : string label : string, callback : function, [tooltip : string] ) Add a new button and call a callback when it is clicked name - string - The name to use to refer to the select button label - string - The label to display on the button callback - function - The function to call when the button is pressed [tooltip] - string - The tooltip to use on the new button callback - darktable.gui.libs.session https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/session/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/session/ The session UI when tethering Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.snapshots https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/snapshots/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/snapshots/ The UI element that manipulates snapshots in darkroom Attributes: has_tostring parent : types.dt_lua_lib_t đź”—darktable.gui.libs.snapshots.ratio number - The place in the screen where the line separating the snapshot is. Between 0 and 1 Attributes: write đź”—darktable.gui.libs.snapshots.direction types.snapshot_direction_t - The direction of the snapshot overlay Attributes: write đź”—darktable.gui.libs.snapshots.# types.dt_lua_snapshot_t - Each snapshot appears with a numerical index; you can iterate over them with ipairs. đź”—darktable.gui.libs.snapshots.selected types.dt_lua_snapshot_t - The currently selected snapshot darktable.gui.libs.styles https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/styles/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/styles/ The style selection menu Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.tagging https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/tagging/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/tagging/ The tag manipulation UI Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.viewswitcher https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/viewswitcher/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/viewswitcher/ The labels allowing to switch view Attributes: has_tostring parent : types.dt_lua_lib_t darktable.gui.libs.view_toolbox https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/view_toolbox/ Mon, 01 Jan 0001 00:00:00 +0000 https://darktable-org.github.io/luadocs/lua.api.manual/darktable/gui/libs/view_toolbox/ The view_toolbox window Attributes: has_tostring parent : types.dt_lua_lib_t