2.28. types.dt_lua_lib_t

dt_type

The type of a UI lib

2.28.1. types.dt_lua_lib_t.id

string

A unit string identifying the lib

2.28.2. types.dt_lua_lib_t.name

string

The translated title of the UI element

2.28.3. types.dt_lua_lib_t.version

number

The version of the internal data of this lib

2.28.4. types.dt_lua_lib_t.visible

boolean

Allow to make a lib module completely invisible to the user.

Note that if the module is invisible the user will have no way to restore it without lua

2.28.5. types.dt_lua_lib_t.container

types.dt_ui_container_t

The location of the lib in the darktable UI

2.28.6. types.dt_lua_lib_t.expandable

boolean

True if the lib can be expanded/retracted

2.28.7. types.dt_lua_lib_t.expanded

boolean

True if the lib is expanded

Attributes:

2.28.8. types.dt_lua_lib_t.position

number

A value deciding the position of the lib within its container

2.28.9. types.dt_lua_lib_t.views

table

A table of all the views that display this widget

2.28.10. types.dt_lua_lib_t.reset

self:function( 
)

A function to reset the lib to its default values

This function will do nothing if the lib is not visible or can't be reset

self
types.dt_lua_lib_t

The lib to reset

2.28.11. types.dt_lua_lib_t.on_screen

boolean

True if the lib is currently visible on the screen