Hello all

And my thanks to anyone taking time to read this and extra thanks if you can answer it.


I expected the lua code below to attach one test label in the lightable view and one in darkroom view, but they both appear in the lighttable view.

Have I done something impressively dumb, or overlooked something.

any thoughts appreciated

Jon

lua code is....

local darktable = require "darktable"

local my_label = darktable.new_widget("label")
my_label.label = "Hello, world !\n the Cat"

local my_dlabel = darktable.new_widget("label")
my_dlabel.label = "Hello, world !\n and the dog"


darktable.register_lib("test2","test2",false,false,{
[darktable.gui.views.lighttable] = {"DT_UI_CONTAINER_PANEL_LEFT_BOTTOM",20},
     },my_label)


darktable.register_lib("test3","test3",false,false,{
[darktable.gui.views.darkroom] = {"DT_UI_CONTAINER_PANEL_LEFT_CENTER",20},
    },my_dlabel)
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to [email protected]

Reply via email to