It seems there is no proper constant. By digging the source code I figured out this hack to force a string:
Code: Select all
local defaultOptions = {
{ "Title", BOOL + 1, "" }, -- << the hack is here
{ "Source", SOURCE, 1 },
{ "Color", COLOR, WHITE },
{ "Shadow", BOOL, 0 }, -- BOOL is actually not a boolean, but toggles between 0 and 1
}
But the widget gets some weird number instead. It looks like number is the only type which can come from options.
Possible? If not, could this be done? Shell I add a ticket?
What I wanted is to make improved "Value" widget where you could select a title instead of using short 4-chars telemetry name.