Hi Stefan,

On Wed, May 15, 2019 at 6:11 AM <[email protected]> wrote:

> Hi, two Lua questions:
>
> After registering a module using
>
>     dt.register_lib( ... , {[dt.gui.views.lighttable] =
> {"DT_UI_CONTAINER_PANEL_RIGHT_CENTER", 100}}, ...)
>
> how can I remove it again?  I was looking for a `dt.unregister_lib`,
> but could not find one.
>
There isn't a way to unregister a lib currently.  The only way to get rid
of it is to disable the script and restart darktable.

>
> Also, what's the precise semantics of `{[dt.gui.views.lighttable] =
> {"DT_UI_CONTAINER_PANEL_RIGHT_CENTER", 100}}`, and where would I find
> documentation about the alternatives?
>
The lua api is documented at https://www.darktable.org/lua-api/index.html
Go to darktable.register_lib, then click the types.dt_ui_container_t link
to get a list of the choices.

>
> Cheers
> Stefan
>
>
> --
> http://stefan-klinger.de                                        o/X
> I prefer receiving plain text messages, not exceeding 32kB.     /\/
>                                                                   \
>
> ____________________________________________________________________________
> darktable user mailing list
> to unsubscribe send a mail to
> [email protected]
>
>
Regards,

Bill

____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]

Reply via email to